CSharp Programming Task