I am confusing about reflection.can any one tell about
REFLECTION with example?



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

Post New Answer

More Dot Net Framework Interview Questions

What is the version number for the next version of the .net framework, codenamed �orcas�?

0 Answers  


How do you box a primitive data type variable ?

1 Answers  


What are child actions in ASP.Net MVC?

0 Answers  


Give an example for authorization filters in an asp.net mvc application?

0 Answers  


What is the significance of nonactionattribute?

0 Answers  






what is the three pillar of .Net ?

11 Answers  


Explain what is routing?

0 Answers  


Can I uninstall microsoft .net framework?

0 Answers  


Can we look at the IL for an assembly?

2 Answers  


Is the lack of deterministic destruction in .NET a problem

1 Answers  


How can I return string result from action in asp.net mvc?

0 Answers  


In which assembly is the mvc framework defined?

0 Answers  


Categories