Difficulty: Easy
Correct Answer: True
Explanation:
Introduction / Context:
The keyword this refers to the current instance in an instance (non-static) method. Understanding when this exists is crucial to reasoning about members and overload resolution.
Given Data / Assumptions:
Concept / Approach:
When an instance method is invoked, the runtime passes a hidden reference to the target object as this, enabling access to instance fields, properties, and other methods.
Step-by-Step Solution:
Verification / Alternative check:
Inside a static method, referencing this produces a compile-time error; inside an instance method, this compiles and works.
Why Other Options Are Wrong:
False would contradict the C# object model for instance methods.
Common Pitfalls:
Confusing static context (no this) with instance context (has this).
Final Answer:
True
Discussion & Comments