Introduction to classes and inheritance in C#