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 the meaning of unobtrusive javascript?
Give an example for authorization filters in an asp.net mvc application?
What is the difference between partial and renderpartial?
What is tempdata?
What is viewbag?
Explain Bundle.Config in ASP.Net MVC4?
Is .net core faster than .net framework?
Explain the request flow in asp.net mvc framework?
how can you enhance the performance of entity framework?
What is entity framework? : Entity framework
Explain the role of assembly in the .net framework.
What is the full form of sp?
Is mvc 4 supporting windows azure sdk (software development kit) ?
What is the difference between renderaction and renderpartial?
Explain what is asp.net mvc?