What is Undifferentiated Memory?. Please anyone tell me about this. What is the relation between heap,stack and Undifferentiated Memory.
Thanks
Undifferentiated Memory
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Former memberPosted Jun 24, 2008, 9:39 PM EDT
int myInt = 25; // Allocate on the stack
string myString = "Hello"; // Allocate on the heap
Nullable<int> myNullInt = null; // Creates a null integer on the stack
int? myNullInt = null; // Shorthand to create a null integer on the stack
string myNullString = null; // Creates a null string on the heap