读书人

c#语法,该怎么解决

发布时间: 2012-01-20 18:53:53 作者: rapoo

c#语法
double [,] hillheight={{3,2,3,4},{2,3,4,5},{3,4,5,6}};
Console.WriteLine( "the rank of the hillheight:{0} ", hillheight.Rank);
Console.WriteLine( "the elements list: ");
foreach (double hill in hillheight)
Console.WriteLine( "{0} ", hill);
Console.ReadKey();

这里面的hillheight.Rank的.rank到底是什么意思

[解决办法]
rank表示这个2维数组,也就是矩阵的秩。

读书人网 >C#

热点推荐