using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Open_Closed.Interfaces; namespace Open_Closed.Classes { public class Magic { public void CountYourMagic(IMagic Magic) { Console.WriteLine($"Your magic is {Magic.MagicType}."); } } }