Reflection
What is Reflection?
What is use and where i can use it? Any example pls?
Thanks
Seshu
What is Reflection?
What is use and where i can use it? Any example pls?
Thanks
Seshu
Hi Seshu,
I have an some background info in the following article: Metadata and Reflection in .NET
Hope that helps,
Reflection is a fature of .Net through which you can find information about assemblies. Get types contained in the assembly, Get Meta data embedded in that assembly etc.
Reflection is achieved through a huge number classes present in System.Reflection namespace for different purposes. Reflection is also used to refrence and use assembly programmatically at run time.
You can load an assembly at run time using Assembly.Load and then we can get Attributes of loaded assembly, access meta data, List all classes in the assembly then methods in each assembly etc.
Its a huge huge topic to cover here. It was just a definition of Reflection and you need to search articles on internet pr study books to get a grasp on it.
Cheers ;-)