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 is difference between html.beginform and ajax.beginform?
Is .net framework 4.8 the last version?
What is objectset? : Entity framework
List out few different return types of a controller action method?
How to change the action name in ASP.Net MVC?
Can we free memory explicitly without waiting for garbage collector to free the memory in .net compact framework?
Where are the routing rules defined in an asp.net mvc application?
Explain the advantages of dependency injection (di) in asp.net mvc?
Can we have enum in entity framework?
What are the components of the .net framework.
Explain Sections is ASP.Net MVC?
how do you mark a property as required? For example, for a project, the name is a required field.
what is entityclient?
What is attribute routing in mvc?
Difference between ASP.NET MVC and ASP.NET WebForms?