static void Main(string[] args) { Graph myGraph = new Graph("input1.txt"); myGraph.print(); myGraph.findPathExcludeVertexes("a", "e", 0); myGraph.print(); Console.WriteLine("Нажмите любую клавишу..."); Console.ReadKey(); }