C# First few exam problems