I started this project just to study about SOLID Principles. This project uses .NET 7.
- Solid Principles
- Single Responsibility
- Open Closed
- Liskov Substitution
- Interface Segregation
- Dependency Inversion
git clone git@github.com:tufcoder/solid-principles.git
The project is a Console Application
that runs in a Terminal
.
- Open the file
Program.cs
in the root directory and comment/uncomment the namespaces.
// Solid.SRP.Tests.Run();
Solid.DIP.OK.Test.Run();
- Save the file and open a Terminal
# optional
dotnet clean
dotnet build
# execute the application
dotnet run
Open the solution file solid-principles.sln
. Edit/save the file Program.cs
and just click in Run
.
The IDE will build and run the application in your default Terminal.