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?

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


Please Help Members By Posting Answers For Below Questions

What is difference between html.beginform and ajax.beginform?

1015


Is .net framework 4.8 the last version?

1047


What is objectset? : Entity framework

1030


List out few different return types of a controller action method?

1051


How to change the action name in ASP.Net MVC?

1072


Can we free memory explicitly without waiting for garbage collector to free the memory in .net compact framework?

1007


Where are the routing rules defined in an asp.net mvc application?

1064


Explain the advantages of dependency injection (di) in asp.net mvc?

1057


Can we have enum in entity framework?

1081


What are the components of the .net framework.

1057


Explain Sections is ASP.Net MVC?

1143


how do you mark a property as required? For example, for a project, the name is a required field.

1074


what is entityclient?

1134


What is attribute routing in mvc?

1131


Difference between ASP.NET MVC and ASP.NET WebForms?

1083