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