首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > C# >

c#语法,该怎么解决

2012-01-20 
c#语法double[,]hillheight{{3,2,3,4},{2,3,4,5},{3,4,5,6}}Console.WriteLine( therankofthehillheigh

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维数组,也就是矩阵的秩。

热点排行