92fa284e20
This reverts commit 944c693dc8
.
18 lines
381 B
C#
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}.");
|
|
}
|
|
}
|
|
}
|