Beginner
C#
Q39 / 100
What is the this keyword in C#?
Correct! Well done.
Incorrect.
The correct answer is B) Refers to the current instance of the class
B
Correct Answer
Refers to the current instance of the class
Explanation
this.name = name distinguishes the instance field from the constructor parameter. This syntax also enables method chaining and constructor delegation (this(...)).
Progress
39/100