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
What is the diff between the System.Array.CopyTo() and System.Array.Clone()?
Why should you override the tostring() method?
What is desktop example?
what is the scope of anonymous type ?
What are the different types of classes in c#?
What is this keyword in C#?
What is code verification?
Between windows authentication and sql server authentication, which one is trusted and which one is untrusted?
How can you achieve run time polymorphism in C#?
What are partial classes and use of partial classes?
What is object array in c#?
What is using keyword in C#?
What is the difference between do and while loop?
What does a constructor do c#?
What is Fragmentation and its Types?