Sponsored Ad

Friday, October 30, 2009

Reflection in C#

The ability to find information about objects at runtime is called reflection. In reflection they can know what kind of object, the details of the methods of an object, & even generate a dynamic runtime. Reflection is a powerful mechanism with the Process.Reflection namespace contains classes for forty years & interface. The kind of guy is the root of all reflection operations & the object that represents a type within the process. The type is an abstract base class that allows multiple implementations.

This class is the primary means by which we access metadata and acts as a gateway to the reflection API. Provides methods to get information about a type declaration, such as constructors, methods, fields, properties and events of a class and the module assembly in which the class implements.

0 comments:

Post a Comment

Sponsored Ad

Website Update

Followers