Multiple choice technology programming languages

In the body of a method, C# uses the variable named_____to refer to the current object whose method is being invoked.

  1. call

  2. this

  3. do

  4. that

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The this keyword in C# refers to the current instance of the class in which it is used, allowing access to its members. Distractors like call and do are keywords reserved for other operations, while that is not a valid C# keyword for referencing the current object.