15 lines
315 B
C#
15 lines
315 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Open_Closed.Interfaces
|
|
{
|
|
public interface IMagic
|
|
{
|
|
string MagicType { get; }
|
|
|
|
void CountYourMagic() => Console.WriteLine($"Your magic is {MagicType}.");
|
|
}
|
|
}
|