0

Possible Duplicate:
C# early and late binding

I want to ask that When does C# Perform Late Bound Call? In which circumstances does late bound occurs?

Community
  • 1
  • 1
Kishore Kumar
  • 12,675
  • 27
  • 97
  • 154
  • 1
    This might be helful [C# early and late binding](http://stackoverflow.com/questions/484214/c-sharp-early-and-late-binding) – Mahmoud Gamal Mar 14 '12 at 06:52

2 Answers2

1

Functions are boud to there address so that they could be executed. if the address of the functions are known during compile time the compiler binds it, this kind of binding is known as compile time binding or early binding. Where as when we dont know which function needs to be exucuted during compile time (as in case of dynamic polymorphism), compiler uses mechaninsm of virtual table and binds the function address during runtime. this is known as runtime binding or late binding.

Oleksandr Fentsyk
  • 5,256
  • 5
  • 34
  • 41
0

Polymorphism is a good example of late bound call.

Deepansh Gupta
  • 593
  • 4
  • 9