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

9 lines
190 B
C#
Raw Normal View History

2023-04-10 15:31:36 +00:00
using Open_Closed.Classes;
2023-04-16 12:30:25 +00:00
using Open_Closed.Interfaces;
2023-04-10 15:31:36 +00:00
2023-04-16 13:37:16 +00:00
IMagic fireMagic = new FireMagic();
IMagic waterMagic = new WaterMagic();
fireMagic.CountYourMagic();
waterMagic.CountYourMagic();