namespace AbstractClassExample
public abstract class BaseClass
public int addition(int a, int b)
public abstract int multiplication(int a, int b);
public class DerivedClass:BaseClass
public static void Main(string[] args)
DerivedClass cal = new DerivedClass();
int added = cal.addition(10,20);
int multiplied = cal.multiplication(10,2);
Console.WriteLine("Addition result: {0}", added);
Console.WriteLine( "Multiplication result: {0}",multiplied);
public override int multiplication(int a, int b)