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
Explain the request flow in asp.net mvc framework?
What is disconnected scenario? : Entity framework
Explain how you can send the result back in JSON format in MVC?
What is tempdata?
mention what is csdl, ssdl and msl sections in an edmx file?
what is .edmx file and what it contains?
Is dapper better than entity framework?
What are the difference between asynchronous controller implementation between asp.net mvc 3 & asp.net mvc 4?
What is NonActionAttribute ?
How does .net framework works?
What are the components required to create a route in ASP.Net MVC?
what do you mean by table-per-hierarchy?
What is html.renderpartial?
How do you assign a value to a complex number 7 how has exception hand changed in .net framework 4.0?
What is entity framework firstordefault?