To prove a point how easy it is to write a dependency injection container.
Start in Program.cs
and hopefully the comments explain everything.
This app is created using .net core To run this sample just run
dotnet run
To prove a point how easy it is to write a dependency injection container
C#