C# Delegates with IoC Containers and Dependency Injection

Most people don’t realize that you can do dependency injection with delegates instead of interfaces. More importantly, you can also use IoC containers with delegates and there are some good reasons to do so.

.NET Foundation Website | Blog | Projects | Code of Conduct