I was wandering if I have a multi-dimension array (M*N matrix), how to determ开发者_StackOverflow社区ine the value of M and N in C#?
Thanks.
Use the Array.GetLength() method. You can pass in 0 or 1 for your 2D array.
I was wandering if I have a multi-dimension array (M*N matrix), how to determ开发者_StackOverflow社区ine the value of M and N in C#?
Thanks.
Use the Array.GetLength() method. You can pass in 0 or 1 for your 2D array.
电脑文件怎么发送到qq??:下一篇
精彩评论