This repository is the sample of the article Dependency Injection — the first steps
Dependency injection is the way to implement the Inversion of Control principle, the basic idea is decoupling our classes by using interfaces. “The high-level classes should not know about the low-level classes instead of it. They just should know about the interfaces that the low-level classes implements.”
- Clone the repository
git clone https://github.com/Bill7zz/Dependency-Injection.git
- Navigate to the samples folder and open Dependency_Injection_Sample.sln in Visual studio
- Run the project (press
F5
key)