C# program that demonstrates object-oriented programming