C#中三维数组的定义
以下定义了4行4列的二维数组string[,]mytimi=newstring[4,4]{{"name","iso","liu","my"},{"i","love","y...
以下定义了4行4列的二维数组
string[,] mytimi = new string[4, 4] { { "name", "iso", "liu", "my" }, {"i","love","you","music"}, {"name", "iso", "liu", "my" }, {"i","love","you","music"}};
Console.WriteLine(mytimi[3, 2]);//这里输出YOU
那么三维数组怎么定义
例如下面
string[,,] mytimi = new string[4,5,6]
这里指的是4行6列吧。那么5又定义什么的,
请列出来一下。并详细说明
thank you!! 展开
string[,] mytimi = new string[4, 4] { { "name", "iso", "liu", "my" }, {"i","love","you","music"}, {"name", "iso", "liu", "my" }, {"i","love","you","music"}};
Console.WriteLine(mytimi[3, 2]);//这里输出YOU
那么三维数组怎么定义
例如下面
string[,,] mytimi = new string[4,5,6]
这里指的是4行6列吧。那么5又定义什么的,
请列出来一下。并详细说明
thank you!! 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询