public void LetterFlip2_DistanceMethod() { StringDiffMarkup metric = new StringDiffMarkup(); int[,] table = StringDiffMarkup.getEditDistMD("iron dog", "iron odg"); string word = "i,r,o,n, ,o,d,g"; int[] last = new int["iron dog".Length + 1]; for (int i = 0; i <= "iron dog".Length; i++) { last[i] = table[table.GetLength(0) - 1, i]; } List <int> lastList = new List <int>(last); lastList.Reverse(); string numbers = string.Join(" ", lastList); }