Friday, June 13, 2014

Reflection and Attributes

Attributes describe the behavior of .net objects like class, method, function, interface etc to the runtime.
There predefined attributes and custom attributes that can be defined by user. The custom attributes are used to store the information.

Here is link on simple use of custom attributes :-
http://www.tutorialspoint.com/csharp/csharp_attributes.htm

Reflection is a set of classes that one uses to explore the .net objects during the runtime itself.

Below link gets the example of how reflection can be used to explore on custom attributes :-
http://www.tutorialspoint.com/csharp/csharp_attributes.htm

No comments:

Post a Comment