public void UsingStateObjects() { Automat automat = new Automat(9); automat.GotApplication(); automat.CheckApplication(); }
static void Main(string[] args) { var automat = new Automat(9); automat.GotApplication(); automat.CheckApplication(); automat.RentApplication(); Console.ReadLine(); }