C# Inheritance Test