Re: What is the difference between early binding and late binding?

  •  03-05-2016, 12:11 AM

    Re: What is the difference between early binding and late binding?

    Early Binding:

    Methods, Functions and properties which are detected and checked during compile time or during compilation is called as early binding.

    In Early binding objects are basically a strong type objects or static type objects.

    An object is early bounded only when it is been assigned to a specific type (strong type). If something goes wrong while coding or before an execution of an application the visual studio intellisense automatically shows a compile time error with error line number and .NET Intellisense automatically populates declared objects methods and properties on click of the dot operator.

    Late Binding 

    Late Binding is just an opp of early binding. In Late binding functions, methods, variables and properties are detected and checked during the run-time.

    Methods, properties which bypasses compile-time checking are dynamic types which are checked/detected during runtime. In late binding compiler does not know what kind of object or actual type of an object or which methods/properties an object contains so it bypass the compile-time checking which was handled by run-time.

    Primavera Training in Chennai | Big Data Training in Chennai 

View Complete Thread