I would really appreciate if someone could tell me whether I understand it well:
class X { A a1=new A(); // reference on the stack, object value on the he
Remember reading in C# in Depth :- Only local variables (the one declared inside method) and method parameter live in stack.Instance variable like varA in above case reside on heap.