EdApp interview question

C# coding interview, inheritance based