Rajesh Singh
Is it possible to have abstract class without abstract method in C#?
By Rajesh Singh in .NET on Aug 29 2016
  • mahesh sorathiya
    Sep, 2022 13

    Yes

    • 0
  • Rajesh Singh
    Aug, 2016 29

    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();}}

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS