c# support late binding or early binding.

Answer Posted / santu sarkar

Early binding is when your client app can detect at compile
time what object a property or method belongs to. Since
it "knows", it resolves the references and the compiled
executable contains only the code to invoke the object's
properties, methods, events, etc.

This is a good thing if you want to speed because the call
overhead is greatly reduced.

Late binding is the slowest way to invoke the properties
and methods of an object. You use late binding when you
write a function that uses an object variable that acts on
any of several different class objects. Since the compiler
doesn't "know" what class object will be assigned to the
variable, it doesn't resolve the references into the
compiled executable. In this case they are resolved at
runtime... when you actually have an assigned object to
reference the properties and methods to.

Hope this helps.

Is This Answer Correct ?    11 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of stl containers?

652


What are the various types of stl containers?

735


How is stl different from c++ standard library?

747


How connect plc and pc through software

1923


What is meant by stl in c++?

657






please visit this site you'll find my question this is my homework please answer it if you can http://easyscience.org/ib/lofiversion/index.php/t36168.html

1777


Is stl open source?

637


Define stl.

778


In what scenario does the Logical file and Physical file being used?

2328


What are the symptoms of stl?

607


What is a list in c++ stl?

696


how to use C++?

2067


What two types of containers does the stl provide?

573


Describe the My Computer and My Documents folders; identify the elements that are present in every Window.

1859


Who wrote stl?

682