What is Undifferentiated Memory?. Please anyone tell me about this. What is the relation between heap,stack and Undifferentiated Memory.
Thanks
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Posted Jun 25, 2008, 1:39 AM
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