Help me understand how you would approach this problem. - C#