I am confusing about reflection.can any one tell about
REFLECTION with example?
Answer Posted / naresh ch.behera
Refelction is the mechanism of discovering class
information solely at run time.Wondering where it would be
useful
example would be an Object browser.The code attached
here,loads all assemblies and displays each class,its
contructors, methods, properties and events in tree
view.The form also hase a command botton (labeled More
Reflection) in whose click event I create an object of
MyClass1 class based on the name of the class and invoke
its methods during run time.Here is an explanation of the
code with information on various classes and methods used.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What are the main features of asp.net mvc 4 used by asp.net web api?
what is csdl?
What is the .net framework?
How to use Jquery Plugins in ASP.Net MVC validation?
Why we need a separate mobile project template, while we can render our web application in mobile ?
what is ssdl?
What is the "helperpage.isajax" property?
Give an example for authorization filters in an asp.net mvc application?
What is the difference between partial and renderpartial?
Can I set the unlimited length for "maxjsonlength" property in config?
Explain representational state transfer (rest) in detail?
What is the mvc pattern (model view controller pattern)?
Can I remove .net framework?
What is poco proxy? : Entity framework
Explain the role of assembly in the .net framework.