1
Reply

Is it possible to have abstract class without abstract method in C#?

Rajesh Singh

Rajesh Singh

8y
456
0
Reply

    Yes it is possible.Ex: abstract class MyClass{public void Disp(){Console.WriteLine("Hello");}}class Program : MyClass{static void Main(string[] args){Program p = new Program();p.Disp();Console.ReadLine();}}