Sample code for C# Object Oriented Programming