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 syntax for calling an overloaded constructor within a constructor?

964


windows c# using datagridview in edit form sql server

4091


What operators can be used to cast from one reference type to another without the risk of throwing an exception?

907


Define multicast delegate? How it be used?

1060


Can constructor have return type c#?

1017


What are the differences between static, public and void in c#?

1068


What is the difference between Java and .NET garbage collectors?

1030


What is the difference between selection and projection?

865


Where is the keyword void used?

939


Explain concurrency with aop?

985


What are the drawbacks of extending an interface as opposed to extending a class?

889


What does int32 mean in c#?

901


What is an interface class in c#?

1096


Why do we need encapsulation in c#?

958


What is the difference between integer and double?

918