+ 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"); } }

23rd Dec 2020, 5:27 AM
Crazy games
Crazy games - avatar
1 Odpowiedź
+ 1
Your question is not clear enough.
23rd Dec 2020, 6:54 AM
Sonic
Sonic - avatar