Blorgbeard is true, but you might also consider using the new .NET 4.0 Tuple. It was easier for me to work when you have a certain number of items to return. As in the case where you always need to return 3 elements in your array, the 3-int tuple makes it clear what it is.
return new Tuple<int,int,int>(0,0,0);
or simply
return Tuple.Create(0,0,0);
jb. Jun 06 2018-12-06T00: 00Z
source share