[tk01] 求助~~~~[color=DeepSkyBlue]请高手进来帮忙看看我的程序那错了~~谢谢[/color]
using System;using System.Collections.Generic;
using System.Text;
namespace dianhuaben
{
class Program
{
static void Main(string[] args)
{
string i;
string[,] d = new d[10, 3];
d[1,1]="姓名";
d[1,2]="性别";
d[1,3]="电话";
do
{
Console.WriteLine("请输入您要添加的电话数量");
string y1=Console.ReadLine();
int y = Convert.ToInt32(y1);
for (int x = 0; x < y-1; x++)
{
for (int u = 0; u < 3; u++)
{
d[x,u] = Console.ReadLine();
}
}
} while (y1 == "q");
}
}
}