I'm not even sure if I'm using the right terms here, but if I have a code like this: (in C#)
Object object1;
Object object2;
object1 = new Object();
object2 = object1;
Will object2 take up as much space as object1, or just point to the instance created at object1?
If I'm not using the correct terms to express myself properly, by all means tell me as well.