What is Dependency Injection or Inversion of Control (IOC) ?

Looking for the definition of the Dependency Injection or Inversion of Control (IOC) in .NET ?

Dependency Injection or Inversion of Control (IOC) is simply a design pattern which helps the developers implement loose coupling effectively .

The dependency injection involves 2 steps

  • Removing the dependencies of the concrete class.
  • Injecting the dependencies during the runtime.

The IoC container is the Dependency Injection Container which is a intermediate module between the concrete implementation and the Interface.

%d