Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

How to create an alias name for a namespace?

4 Answers   IBM,


What is Reflection in .NET?

6 Answers   Fiserv, TCS,


When i am using Ajax controls (updatepanel),Is page events all are executed or only some events are executed?which page events are executed?

5 Answers   TCS,


How does the .net framework 3.0 relate to the .net framework 2.0?

0 Answers  


what is explicit loading?

0 Answers   Microsoft,


How does assembly versioning work?

1 Answers  


Explain the methods used to render the views in mvc?

0 Answers  


what are the different stepts to create shared assemblies?

1 Answers  


How does servicing work for the .net framework 3.0?

0 Answers  


Mention two instances where routing is not implemented or required?

0 Answers   Infosys,


What does CLR do as soon as an assembly is created ?

2 Answers   MMTS,


What are Action Filters in ASP.NET MVC and its use?

0 Answers  


Categories