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