int[][] nums = new int[][] { new int[] { 0, 1, 2, 3 }, new int[] { 4, 5 } }; foreach (int[] outer in nums) { foreach (int inner in outer) { Console.Write(inner + ", "); } }
Login in to like
Login in to comment
or Read more about C# Quizzes
Login in to like
Login in to comment