Possible duplicate:When do you use the keyword "this"?
In OOP, sometimes we can write this.PropertyName = VALUE , and sometimes we can skip this . and just write PropertyName = VALUE .
this.PropertyName = VALUE
this
PropertyName = VALUE
So my question is: we should always use this. ? Does using / writing this have any effect on application performance or just making the code a little clearer?
this.
Thanks.
There should be no difference in performance. This is a purely stylish solution.