Пример #1
0
        public void InputDataSet()
        {
            for (int n = 0; n < dataSetNum; n++)
            {
                TurnStatus turn     = new TurnStatus();
                int        outCount = 0;

                while (true)
                {
                    string str = Console.ReadLine();

                    turn.events.Add(turn.GetEvent(str));

                    if (turn.GetEvent(str) == TurnStatus.Event.Out)
                    {
                        outCount++;
                    }

                    if (outCount >= 3)
                    {
                        break;
                    }
                }
                turns.Add(turn);
            }
        }