This pointer
Posted: 21 Oct 2015, 06:56
size=150This pointer/size
The 'this' keyword refers to the current instance of the class/CLC.
The meaning and behaviour is the same as url=https://msdn.microsoft.com/cs-cz/library/dk1507sz.aspx'this' keyword in C#/url
It can be used in class constructor (see example below) or in class functions. Using 'this' in global scope (main script) is possible, but NOT recommended
See attached example for more details.
The 'this' keyword refers to the current instance of the class/CLC.
The meaning and behaviour is the same as url=https://msdn.microsoft.com/cs-cz/library/dk1507sz.aspx'this' keyword in C#/url
It can be used in class constructor (see example below) or in class functions. Using 'this' in global scope (main script) is possible, but NOT recommended
See attached example for more details.