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
How Global.asax is used ?
What is anonymous types in c#?
Okay, so an int is a value type, and a class is a reference type. How can int be derived from object?
What is dictionary class in c#?
What are concrete classes?
What is windows form in c#?
What is the difference between c and c sharp?
What happens when thread sleep () method is called?
What is the importance of closing an ado.net application?
hi my question is about understanding a text the user entered to a site , so i want to analyse that text looking for some specific items such as "honda" "shoffere" etc.. so if this site could help or could tell me where to go with such question ,i wonder. thanks
What is event and delegates in c#?
What is a web service in c#?
Can a class or a struct have multiple constructors?
What is an example of a delegate?
Is there a way of specifying which block or loop to break out of when working with nested loops?