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...

Explain and distinguish between reflection and dynamic?

Answer Posted / maanya

Both reflection and dynamic are used when we want to operate on an object during runtime.
Reflection is used to inspect meta-data of an object. It also has the ability to invoke members of an object on runtime.
Dynamic is a keyword which was introduced in .NET 4.0. It evaluates object calls during runtime. So until the method calls are made compiler is least bothered if those methods / properties etc exist or not.
Dynamic uses reflection internally. It caches the method calls made thus improving performance to a certain extent.
Reflection can invoke both public and private members of an object while dynamic can only invoke public members.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ruby binder?

772


What is dynamic?

627


Explain reflection?

639


What are the names of binders provided by .net framework 4.0?

614


Explain the difference between dynamic and var data types?

723


What is net dynamics application server?

725


List the names of binders provided by .net framework 4.0?

640


List the advantages of dlr?

669


What is dynamicobject?

730


Define com binder?

630


What are the difference between dynamic and var data types?

634


What is expression trees services provided by dlr to clr?

661


What is javascript binder?

684


Explain middleware net dynamics?

633


Define dynamicobject?

627