BlazorApp/Bullet6/Program.cs

16 lines
375 B
C#

using Bullet6.Handlers;
using Bullet6.Interfaces;
using Bullet6.Models;
namespace Bullet6
{
public class Program
{
static void Main(string[] args)
{
IEntity[] entites = [new Employee() { Name = "Ilias" }, new Manager() { Name = "Maria" }];
foreach (var entity in entites) EntityHandler.PrintName(entity);
}
}
}