C# print 2D-array in order. Please help!
Posted
by user339067
on Stack Overflow
See other posts from Stack Overflow
or by user339067
Published on 2010-06-18T08:42:50Z
Indexed on
2010/06/18
8:53 UTC
Read the original article
Hit count: 127
Hello,
I got a 2-dimentional array containing boolean values written in C#. The cols and rows of the array are to be determined by the user upon creation of the array. I then want to print out the array and it´s containing values onto the console in order.
For example like this, how is this done in C#?
ROWS - COLS - VALUE
1 - A - True
1 - B - True
1 - C - True
1 - D - True
2 - A - True
2 - B - False
2 - C - False
2 - D - True
© Stack Overflow or respective owner