Single Responsibility Principle in C-Sharp: Simplified

Let us start with understanding what is SRP? Single Responsibility Principle says every class should have single responsibility and all the responsibility should be encapsulated in the class. To explain it further assume you are creating a creating class to Calculate Salary. Now if you have two methods in class like below. Usually we can…… Continue reading Single Responsibility Principle in C-Sharp: Simplified