This repository has been archived on 2024-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
NG_2023_Stanislav_Mykhailenko/Lesson_4/Task_2/Interfaces/IMagic.cs

16 lines
315 B
C#
Raw Normal View History

2023-04-10 15:31:36 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Open_Closed.Interfaces
{
public interface IMagic
{
2023-04-16 12:30:25 +00:00
string MagicType { get; }
2023-04-15 20:25:41 +00:00
2023-04-16 12:35:34 +00:00
void CountYourMagic() => Console.WriteLine($"Your magic is {MagicType}.");
2023-04-10 15:31:36 +00:00
}
}