You seem to have an extra console.writeline statement that's printing 'line' an extra time. Also you're printing to the console for every increment of j. If 'Sodoku_Gri.GetLength(1)' equals 2 then each line of the file will print 2 times. Can't see a reason for that loop to be in there. If you don't need it you could replace lines 13-19 with: Console.Write(line[j].ToString() + \n); . You might want to consider copying that file right into an array(StringArray[]=System.IO.File.ReadAllLines(path)), 1 line per element, then it's a simple matter of looping through the array to print each line.
tinstaafl
Nearly a Posting Virtuoso
1,328 posts since Jun 2010
Reputation Points: 355
Solved Threads: 231
Skill Endorsements: 14