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

which are the key concepts of entity data model?

0 Answers   Microsoft,


Is entity framework slow?

0 Answers  


what are the aggregate functions in ASP.NET?

1 Answers   CTS, IBM, Zylog,


Where do the reference-type variables go in the RAM ?

1 Answers  


What does assert() method do?

1 Answers   MCN Solutions, Siebel Systems,






What type of filter does outputcacheattribute class represents?

0 Answers  


What is .net architecture and framework?

0 Answers  


What is Layout in ASP.Net MVC?

0 Answers   B-Ways TecnoSoft,


will this code works fine? or will it gives error? Object obj=5; int i=6; i=i+obj;

9 Answers   Kanbay,


If I have multiple filters implemented, what is the order in which these filters get executed?

0 Answers  


How to change the action name in mvc?

0 Answers  


Why to use Html.Partial in ASP.Net MVC?

0 Answers  


Categories