【发布时间】:2011-06-11 19:30:09
【问题描述】:
有以下代码:
class X
{
public void Y(){}
}
X _x=new X();
_x.Y(); //should I say Y is method of _x variable? It is easy but actually the variable contains just reference to object that has this method
X newX=x; //here I assign the value of variable x to variable newX. The value is reference
【问题讨论】:
标签: c# terminology