Virtusa Interview Question

How does DI work in .net core