C#C
C#3y ago
Messiah

❔ How DI works?

Been using dependency injection to share variables between classes a lot lately, and it got me wondering how does it work? Why are they able to access eachother's variables just because they share an interface?

Using ASP.NET and more specifically HttpClient
Was this page helpful?