C# code for IT1050 @ Tri-C