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 b64a9ea7b9
Update Lesson 4 Task 2
2023-04-16 15:30:25 +03:00

5 lines
149 B
C#

using Open_Closed.Classes;
using Open_Closed.Interfaces;
((IMagic) new FireMagic()).CountYourMagic();
((IMagic) new WaterMagic()).CountYourMagic();