static void Main(string[] args) { MyDerivedClass dClass = new MyDerivedClass(); dClass.GetString(); }
static void Main(string[] args) { MyDerivedClass dClass = new MyDerivedClass(); Console.WriteLine(dClass.GetString()); }