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
Stanislav Mykhailenko f24c97cfb5
Update Lesson 4 Task 2
2023-04-11 23:29:05 +03:00

18 lines
381 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 class Magic : IMagic
{
public void CountYourMagic(IMagicClass MagicClass)
{
Console.WriteLine($"Your magic is {MagicClass.MagicType}.");
}
}
}