C# Homework 3