Hi People,
Please help me to understand the concept of Reflection and Custom Attributes.
Thanks.
What is Reflection and What are Custom attributes ?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Jignesh TrivediRank #16 · 50.3K reputationPosted Jun 6, 2013, 7:16 PM EDT
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.