FeatureClassRecordStructTypeReference TypeReference Type (since C# 10, can be record struct)Value TypeMemory AllocationTypically allocated on the heap.Typically allocated on the heap.Typically allocated on the stack (or heap if used as part of a class or array)Default ConstructorCan have a parameterless constructor, and can be explicitly defined.Implicit parameterless constructor is not allowed; parameters are required.Parameterless constructor...
Monday, August 19, 2024
Friday, May 17, 2024
Angular Basics
Posted by Zuhair Ahmed on May 17, 2024 with No comments
Intro• package.json• (list
of dependencies)• package-lock.json• (details
list of that dependencies)• angular.json• (map
everything here: assets, scripts etc)• tsconfig.json• (typescript
configuration file)• polyfills.ts• (compatibility
file) Components• ...
Monday, March 4, 2024
Reactive Programming
Posted by Zuhair Ahmed on March 04, 2024 with No comments
🔎Definition---JavaScript Promises are objects used to represent the eventual completion (or failure) of an asynchronous operation. They are widely used in modern JavaScript to handle asynchronous tasks in a more readable and manageable way, compared to traditional callback-based approaches. A Promise can be in one of three states:Pending: Initial state, neither fulfilled nor rejected.Fulfilled: The operation completed successfully.Rejected: The...
Posted in rxjs
Saturday, June 10, 2023
Run React Globally
Posted by Zuhair Ahmed on June 10, 2023 with No comments
If you have problems running create-react-app in text editors but the package is installed globally. So here is the SOLUTION-------------Open PowerShell as an administrator. You can do this by right-clicking on the Windows Start button and selecting "Windows PowerShell (Admin)".In the PowerShell window, run the following command to check the current execution policy:powershellCopy codeGet-ExecutionPolicy
The output will be one of the following:Restricted:...