关于this. 的概念问题
public double f_c
{
get
{
var Buffer = from buf in cc.ConcreteAttribute
where buf.ConcreteID == CID
select buf.f_c;
return (double)Buffer.First();
}
}
请问
public int cc()
{
int aa=1+f_c;
return aa;
}
和
public int cc()
{
int aa=1+this.f_c;
return aa;
}
有区别吗?这里的this有什么含义?
我用断点过了一遍,发现加与不加this都要到属性f_c里过一遍;