Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

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>());
Comment

PREVIOUS NEXT
Code Example
Csharp :: c# switch 
Csharp :: displayname c# 
Csharp :: how to add item to listbox in c# 
Csharp :: jarray to list c# 
Csharp :: how to print c# 
Csharp :: Attribute [livewire] does not exist. 
Csharp :: how to pause code execution in c# 
Csharp :: where is c# used 
Csharp :: dropdown wpf 
Csharp :: C# .net core convert string to enum 
Csharp :: unity ignore collision between two objects 
Csharp :: how to make an object appear and disappear in unity 
Csharp :: c# skip following code in loop 
Csharp :: convert array object to int[] c# 
Csharp :: how to add ground Check in unity 3d 
Csharp :: unity topdown movement 
Csharp :: c# check if 2d array position exists 
Csharp :: C# get key by value Dict 
Csharp :: c# type from string 
Csharp :: top down movement unity 
Csharp :: unity debug c# code with console 
Csharp :: read embedded resource c# xml 
Csharp :: unity key up 
Csharp :: WPF Confirmation MessageBox 
Csharp :: convert string to list int c# 
Csharp :: c# datetime add 
Csharp :: how to make dictionary c# 
Csharp :: getcomponent unity 
Csharp :: read excel to object c# 
Csharp :: c# set datetime to null value 
ADD CONTENT
Topic
Content
Source link
Name
2+6 =