Tuesday, March 20, 2012

this Keyword in ASP.NET

this Keyword

Each object has a reference “this” which points to itself.

Two uses of this keyword.

o Can be used to refer to the current object.

o It can also be used by one constructor to explicitly invoke another constructor of the same class.

No comments:

Post a Comment