homework for my c# study