Submitted Questions

  • How can objects be late bound in .NET?

    rich

    • Jun 12th, 2006

    Objects are generally late bound when using class factories with interfaces (or base classes). An example of late binding can be seen below. The function that generates the concrete object (at runtime) will decide which type of concrete object to instantiateIReader reader = GetFileOrDBReader();

    dotnetrocks

    • Jun 7th, 2006

    Hi,Sometimes it happens that the client does not have an idea of creating an object of which class. it has to be decided at runtime. For such condition , reflection can be used to get the type informa...