SOLID Principles cheat sheet in C#

A summary of SOLID Principles as implemented in the C# language. Useful link: https://code-maze.com/solid-principles/ 1. Single Responsibility Principle Every class should have only one responsibility. Consider the class PersonalDetails whose responsibility is to hold details about a person: After instantiating, we then use a public method to print out the details of that person: The …

Continue reading ‘SOLID Principles cheat sheet in C#’ »