C# Programming/Keywords/this
Appearance
From Wikibooks, open books for an open world
The latest reviewed version was checked on 8 June 2017. There are template/file changes awaiting review.
C# Programming
Cover | Introduction | Basics | Classes | Advanced Topics | The .NET Framework | Index
Cover | Introduction | Basics | Classes | Advanced Topics | The .NET Framework | Index
The this
keyword is used in an instance method or instance property to refer to the current class instance. That is, this
refers to the object through which its containing method or property was invoked. It is also used to define extension methods.
C# Keywords |
---|
Special C# Identifiers (Contextual Keywords) |
Contextual Keywords (Used in Queries) |