Dotnet class exercise 1