Пример #1
0
        static void Main(string[] args)
        {
            var paths = new List <string>(args);

            using (DummyGame dummy = new DummyGame(paths)) {
                dummy.Run();
            }
        }
Пример #2
0
        static void Main(string[] args)
        {
            var    paths = new List <string>(args);
            string input;

            while (true)
            {
                input = Console.ReadLine();
                if (input != null && input.Length > 1)
                {
                    paths.Add(input);
                }
                else
                {
                    break;
                }
            }
            using (DummyGame dummy = new DummyGame(paths)) {
                dummy.Run();
            }
        }