C#里面怎么定义二维数组啊。

2025-04-28 23:04:17
推荐回答(2个)
回答1:

#include "string.h"
#define x 10
#define y 10
void main()
{
int str[x][y],i,j;
printf("请输入元素:");
for(i=0;i for(j=0;j scanf("%d",&str[i][j]);
}

回答2:

string [,] a = new string[];