static string[,] lab = { {" ", " ", " ", "*", " ", " ", " "}, {"*", "*", " ", "*", " ", "*", " "}, {" ", " ", " ", " ", " ", " ", " "}, {" ", "*", "*", "*", "*", "*", " "}, {" ", " ", " ", " ", " ", " ", "e"} }; static List path = new List(); static int step = 0; static void Main(string[] args) { FindPath(0, 0, ""); }