1.

Which feature enables to obtain information about the use and capabilities of types at runtime?(a) Runtime type ID(b) Reflection(c) Attributes(d) None of the mentioned

Answer» Right option is (b) Reflection

Explanation: Reflection is the feature that enables you to obtain information about a type. The term reflection comes from the way the process works: A Type object mirrors the underlying type that it represents. Reflection is a powerful mechanism because it allows us to learn and use the capabilities of types that are known only at runtime.


Discussion

No Comment Found

Related InterviewSolutions