Answers for "how to print a matrix in c#"

C#
0

how to print a matrix in c#

using System.Linq;
 int[,] array2D = new int[,] { { 1, 2 }, { 3, 4 }, { 5, 6 }, { 7, 8 } };
Console.WriteLine(array2D.Cast<int>());
Posted by: Guest on February-08-2022

C# Answers by Framework

Browse Popular Code Answers by Language