What goes on Stack & Heap? |
"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, int, long, sbyte, short, struct, uint, ulong, ushort |
"Things" declared with following list of type declarations are Reference Types
(and inherit from System.Object... except, of course, for object which is the System.Object object):
class, interface, delegate, object, string |