static void Main(string[] args)
        {
            isRunningLocally = args.Length > 0;

            Buildings buildings = new Buildings();

            buildings.ReadFromConsole();

            Console.WriteLine(buildings.CableLength);

            Console.WriteLine("Press any key to exit: ");
            Console.ReadKey();
        }
Пример #2
0
        static void Main(string[] args)
        {
            isRunningLocally = args.Length > 0;

            Buildings buildings = new Buildings();
            buildings.ReadFromConsole();

            Console.WriteLine(buildings.CableLength);

            Console.WriteLine("Press any key to exit: ");
            Console.ReadKey();
        }