Help with refactoring [Answered] - C#