Click here to Skip to main content
16,004,678 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi everyone,
i am fresh to this programming world and just trying to learn the things. can anyone kindly explain me the basics of early binding and late binding plus a short comparision between them.

Thank you in advance
Posted

Early Binding :
The name itself describes that compiler knows about what kind of object it is, what are all the methods and properties it contains. As soon as you declared the object, .NET Intellisense will populate its methods and properties on click of the dot button.

Late Binding :
The name itself describes that compiler does not know what kind of object it is, what are all the methods and properties it contains. You have to declare it as an object, later you need get the type of the object, methods that are stored in it. Everything will be known at the run time.

for more refer:
http://www.c-sharpcorner.com/uploadfile/babu_2082/early-binding-vs-late-binding/[^]
http://msdn.microsoft.com/en-us/library/0tcf61s1%28v=vs.80%29.aspx[^]
 
Share this answer
 
v2
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900