static void Main(string[] args) { string path = GetPath(); try { List <List <int> > triangle = TxtToList(path); Triangle.CalculatePath(triangle); } catch (Exception ex) { Console.WriteLine(ex.Message); } Console.ReadKey(); }
static void Main(string[] args) { string path = GetPath(); try { List <List <int> > triangle = TxtToList(path); Triangle.CalculatePath(triangle); } catch (Exception ex) { Console.WriteLine(ex.Message); } Console.ReadKey(); }