Weekly Challenge: Refactoring in C#