This repository has been archived on 2024-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
NG_2023_Stanislav_Mykhailenko/Lesson_4/Task_2/Program.cs
Stanislav Mykhailenko 39d4c9a4d1
Update Lesson 4 Task 2
2023-04-15 22:39:32 +03:00

4 lines
143 B
C#

using Open_Closed.Classes;
(new Magic()).CountYourMagic(new FireMagic().MagicType);
(new Magic()).CountYourMagic(new WaterMagic().MagicType);