KCG Interview Question

Dependency injection in .net, how it works and how to implement it in code.