Get me outta here!

Monday, August 19, 2024

Class/Record/Struct

 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...