Here are our two golden rules: A Reference Type always goes on the Heap; easy enough, right? Value type always goes on the Stack. Value Types: In C#, all the “things” declared with the following list of type declarations are Value types (because they are from System.ValueType): bool byte char decimal double enum float…
Continue reading