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

How can we Achieve Late binding in C#.Can any give one example.

Answer Posted / dileep

Late Binding means compiler doesn't have any prior knowledge
about COM's methods and properties and it is delayed until
runtime. Actually program learns the addresses of methods
and properties at execution time only i.e. when those
methods and properties are invoked. Late bound code
typically refers client objects through generic data types
like 'object' and relies heavily on runtime to dynamically
locate method addresses. We do late binding in C# through
reflection. Reflection is a way to determine the type or
information about the classes or interfaces.

Is This Answer Correct ?    18 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the execution entry point for a c# console application?

914


What is the delegate in c#?

864


Can we have static indexer in c#?

850


Please explain value types and reference types used in c#?

808


What is the purpose of reserved word using in c#?

877


What is a linked list c#?

842


What are synchronous and asynchronous operations?

904


What are types in c#?

858


How many digits are in an integer?

805


What is dll hell, and how does .net solve it?

909


Distinguish between system.string and system.text.stringbuilder classes?

878


You are creating a custom usercontrol, some of the newly created properties are shown in the properties window. How you can hide a new property named theme from the properties window?

872


Can you inherit multiple classes in c#?

986


What is the relationship between a process, application domain, and application?

887


What are the advantages of constructor?

791