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 poco proxy? : Entity framework
what is eager loading?
In .net compact framework, can we free memory explicitly without waiting for garbage collector to free the memory?
How would you deploy your old applications with .net framework 4.0? Are the old applications compatible?
what is deferred loading(lazy loading)?
What is the importance of NonActionAttribute?
what is linq to entities?
My organization went through the approval process of supporting the .net framework 2.0 in production. Do we need to go through the same process all over again for the .net framework 3.0? Do I need to do any application compatibility testing for my .net framework 2.0 applications?
What is the greatest advantage of using asp.net mvc over asp.net webforms?
What is the difference between renderaction and renderpartial?
What is the difference between adding routes, to a webforms application and to an mvc application?
What are the components of the .net framework.
Explain the tools used for unit testing in ASP.Net MVC
what is explicit loading?
How route table has been created in ASP.NET ASP.Net MVC?