You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
633 B

3 years ago
using w230415_classes;
using w230415_classes.Intf;
namespace w230415_console
{
internal class Program
{
static void Main(string[] args)
{
ICasino c = new PiCasino();
h_OldConsoleWork(c);
}
private static void h_OldConsoleWork(ICasino c)
{
string s = String.Empty;
foreach (
Game? c2 in c.GetActiveList())
{
s = c2.Serial;
Console.WriteLine($"{c2.Serial} // {c2.IsActive}");
}
c.RemoveGame(s);
c.AddGame("asdasd", 100);
}
}
}