C# array problem
Posted
by user208080
on Stack Overflow
See other posts from Stack Overflow
or by user208080
Published on 2010-06-07T17:49:56Z
Indexed on
2010/06/07
17:52 UTC
Read the original article
Hit count: 168
c#
Hi there. I am a newbie in C# and here are 2 questions:
- I have a 2d array a[3,3], how can I express one dimension as a new array and pass to some function.
i.e.
int[,] a = new int[3,3];
a[0,0] = 1;
...
string b = concatenate(a[0]); // where concatenate is a function take a one dimension array as param
- Can I create a 65000x65000 array with C#? I got some "out of memory" error.
Thanks in advance.
© Stack Overflow or respective owner