Was going through some legacy code recently and found a big for loop that had multiple switch statement inside. So being that I hate something that is fairly large, every method should be small and concise, I went along to refactor it to SRP.

This code is generic so you might see something like this in your code base also.

… Read the rest “Using LINQ to refactoring code into single responsibility principle SRP”