namespace InterFaceTest { abstract class abs { public abstract void Display(); } interface ITest { void Display(); } class Program : abs, ITest { public override void Display() { Console.WriteLine("Why only Once"); } static void Main(string[] args) { } } }
void ITest.Display() { Console.WriteLine("Because."); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)