Example #1
0
        public void UsingStateObjects()
        {
            Automat automat = new Automat(9);

            automat.GotApplication();
            automat.CheckApplication();
        }
Example #2
0
        static void Main(string[] args)
        {
            var automat = new Automat(9);

            automat.GotApplication();
            automat.CheckApplication();
            automat.RentApplication();

            Console.ReadLine();
        }