Use this when you need to make difference between variables:
Use it when you need to emphazise the belonging to your class of that variable. I suggest to use it only when you need it ( to increase readability and decrease the amount of code), like the situation above.Code:public class Form1: Form { private int _someInt; private void anotherMethod(int _someInt) { this._someInt=_someInt; } ... }




Reply With Quote