1
Answer

What is Reflection and What are Custom attributes ?

Photo of mursaleen fayyaz

mursaleen fayyaz

11y
1.2k
1
Hi People,


Please help me to understand the concept of Reflection and Custom Attributes.





Thanks.

Answers (1)

0
Photo of Jignesh Trivedi
NA 62.3k 46.3m 11y

hi,

Reflection is able to read metadata of any managed code assemblies, modules and type information runtime.reflection provides objects that encapsulate assemblies, modules and types.
with the help of Reflection we can determine the dependancies of an assembly,Invoking a method that's defined at runtime, find properties that have been marked with attributes.


Please refer
http://msdn.microsoft.com/en-us/library/ms173183(v=vs.80).aspx
http://www.codeguru.com/csharp/csharp/cs_misc/reflection/article.php/c4257/An-Introduction-to-Reflection-in-C.htm 

for custom attribute
http://msdn.microsoft.com/en-us/library/sw480ze8(v=vs.71).aspx
http://msdn.microsoft.com/en-us/library/84c42s56.aspx

hope this will help.

Next Recommended Forum