EFI interview question

How to Implement Dependency injection in .net core application.