Pergunta de entrevista da empresa KCG

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