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
Can any particular component of .net framework 3.0 be removed?
Explain the use of Inversion of control (IOC)?
I want ask from plz smaple example code for Biztalkk server
What is the advantage of mvc?
What is representational state transfer (rest) mean?
What is the meaning of unobtrusive javascript?
What is viewstart page in mvc?
What are non action methods in mvc?
Give an example for authorization filters in an asp.net mvc application?
What is the .net framework 3.0 (formerly winfx)?
what is msl?
Can I add asp.net mvc testcases in visual studio express?
What are Action Methods in ASP.NET MVC?
What is html.renderpartial?
What is the use of view model in asp.net mvc?