abstract class a { public virtual string add() { return ("Minus"+(10 - 2)); } } class b : a { public override string add() { return ("Plus" + (10 + 2)); } }
class b : a { public override string add() { return base.add(); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)