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/Classes/Magic.cs
2023-04-15 23:28:03 +03:00

21 lines
456 B
C#

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 abstract class Magic : IMagic
{
public abstract int MagicValue { get; }
public abstract string MagicType { get; }
public void CountYourMagic()
{
Console.WriteLine($"Your magic is {MagicType}.");
}
}
}