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