Getting An Array Result From A C# Method
Posted
by Soo
on Stack Overflow
See other posts from Stack Overflow
or by Soo
Published on 2010-03-08T14:29:59Z
Indexed on
2010/03/08
14:36 UTC
Read the original article
Hit count: 184
I am trying to write some code to return an array in C#, but don't know the proper syntax. I think my method is set up correctly, but to set an array to the result of the method is what I'm having difficulty with.
Method Declaration:
double[,] function(double variable)
{
...
code
...
return array
}
© Stack Overflow or respective owner