+ 1
17.1 why do we need a abstract void were you can call the and just make the void with the same names.
abstract class Shape { public abstract void Draw(); } class Circle : Shape { public override void Draw() { Console.WriteLine("Circle Draw"); } } Cant you just use it like class Circle { public void Draw() { Console.WriteLine("Circle Draw"); } }
1 Odpowiedź
+ 1
Your question is not clear enough.