static void Main(string[] args) { List<string> L = readAllLines(); int[,] m = convertListToIntMatrix(L); int Rows = m.GetLength(0); int Cols = m.GetLength(1); for (int r = 0; r < Rows; r++) { for (int c = 0; c < Cols; c++) { if (m[r, c] <= 0) { break; } else Console.Write("{0} ", m[r, c]); } Console.WriteLine(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)