SOLID DESIGN PRINCIPLES - SRP - SINGLE RESPONSIBILITY PRINCIPLES IN C# .NET CORE, .NET 7.0 CONSOLE

Опубликовано: 18 Октябрь 2024
на канале: Learn@EdwinDeloso
93
2

SRP demonstration in C# .net 7.0 .NET Core console application. SRP states that a class or module has only one responsibility, one reason to change.
Single Responsibility Principles guys is one of the most popular and commonly used design principles to achieve OOP programming. There's are lot of benefits in implementing SOLID Design Principles but sometimes it's not needed like for example you are just building a very simple application. So, just decide it carefully when to use and when not to use it.