I am confusing about reflection.can any one tell about
REFLECTION with example?
Answer / 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 |
What is the difference between STA and MTA?
How does .net framework works?
unit test done by tetser on development team?
Have you designed any components?
what is .net?
What are non action methods in mvc?
What are attributes
How we can register the Area in ASP.Net MVC?
What’s the advantage of using System.Text.StringBuilder over System.String?
How route table is created in ASP.NET MVC?
What is the difference between model view and controller?
What is the CLS