From 4920949c0f13a83dbc075af4e862a2336c0a25b0 Mon Sep 17 00:00:00 2001 From: Stanislav Mykhailenko Date: Sun, 16 Apr 2023 15:35:34 +0300 Subject: [PATCH] Update Lesson 4 Task 2 --- Lesson_4/Task_2/Interfaces/IMagic.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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}."); } }