8 lines
190 B
C#
8 lines
190 B
C#
using Open_Closed.Classes;
|
|
using Open_Closed.Interfaces;
|
|
|
|
IMagic fireMagic = new FireMagic();
|
|
IMagic waterMagic = new WaterMagic();
|
|
|
|
fireMagic.CountYourMagic();
|
|
waterMagic.CountYourMagic();
|