Single Responsibility Principle in C#

A class should only have one responsibility and a class should only have one reason to change. SRP is trying to enforce high cohesion and loose coupling in our classes, our classes should only contain elements that are closely related. Having unrelated elements in our classes leads to tight coupling and low cohesion which makes … Continue reading Single Responsibility Principle in C#