|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How do I pass a two-dimensional array to a Function or Sub??Hi
I wounder how I can pass a two-dimensional array or more to a Function or Sub and how shall the Function or Sub look like. Fia Fia,
>I wounder how I can pass a two-dimensional array or more to a Function or Sub DoStuffWith2DArray(Byval arr(,) As Integer)>Sub and how shall the Function or Sub look like. .... End Sub DoStuffWith2DArray(New Integer(,) {{1,2,3},{4,5,6}}) Mattias -- Mattias Sjögren [C# MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup. |
|||||||||||||||||||||||