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

Explain what languages does the .net framework support?

0 Answers  


What is boxing and unboxing?

4 Answers   Kanbay, TCS,


What is representational state transfer (rest) mean?

0 Answers  


Explain how you can send the result back in JSON format in MVC?

0 Answers  


Is .NET a runtime service or a development platform?

1 Answers  






How do you do role based security ?

1 Answers   Accenture, BirlaSoft,


What are the levels at which filters can be applied in an asp.net mvc application?

0 Answers   NA,


Will c# 3.0, vb.net 9.0, atlas, or linq be included in the .net framework 3.0?

0 Answers  


what is use of entity container?

0 Answers   Microsoft,


What are the Main Features of .NET platform

1 Answers  


What are Non Action methods in ASP.Net MVC?

0 Answers  


How we can add the css in mvc?

0 Answers  


Categories