Пример #1
0
        public static void Main()
        {
            int            numOfRows = int.Parse(Console.ReadLine());
            ClinicsNetwork clinicNet = new ClinicsNetwork();

            for (int i = 0; i < numOfRows; i++)
            {
                string[]          input       = Console.ReadLine().Split(new[] { ' ' }, StringSplitOptions.RemoveEmptyEntries);
                CommandIterpretor interpretor = new CommandIterpretor(input, clinicNet);
                interpretor.ParseCommand();
            }
        }
Пример #2
0
 public CommandIterpretor(string[] input, ClinicsNetwork clinicNet)
 {
     this.input     = input;
     this.clinicNet = clinicNet;
 }