diff --git a/Lesson_4/Task_2/Interfaces/IMagic.cs b/Lesson_4/Task_2/Interfaces/IMagic.cs index 2c6e708..152f345 100644 --- a/Lesson_4/Task_2/Interfaces/IMagic.cs +++ b/Lesson_4/Task_2/Interfaces/IMagic.cs @@ -10,9 +10,6 @@ namespace Open_Closed.Interfaces { string MagicType { get; } - public void CountYourMagic() - { - Console.WriteLine($"Your magic is {MagicType}."); - } + void CountYourMagic() => Console.WriteLine($"Your magic is {MagicType}."); } }