The this Keyword and Extension Methods

Let's discuss this keyword and extension methods.

What is the this keyword?

The this keyword refers to the current instance of the class. It helps qualify members hidden by the same name. The this keyword can also be used to pass the entire instance of the current class to a parameter as an object.

Example

Get hands-on with 1200+ tech skills courses.