我只想知道在课堂上将这个关键字与类变量一起使用是好的做法还是坏的做法?
如果我使用它会减少或增加应用程序的运行时间/编译时间吗?如下所示:-
this.FirsName = cust.name; this.LastName = cust.Lname; this.Age = cust.age; this.DOB = cust.dob;
等等超过 1000 行代码......
.net c# this
.net ×1
c# ×1
this ×1