1.

Reflection easy on kinds of variables and their uses

Answer»

ANSWER:

REFLECTION can be used to create applications called TYPE browsers which allow users to select types and then read the data PROVIDED about them. This example illustrates how to use the static METHOD GetType to find the Type of a variable: The above example results in the following output: Implementing reflection in C# requires a two-step process.

Explanation:



Discussion

No Comment Found

Related InterviewSolutions