回复 9楼 qq1023569223
public string Value;public void GeneratePointMatrix(int x, int y)
{
for (int i=0;i<9;i++)
{
for (int j=0;j<9;j++)
{
int x=int.Parse(Value);
int y=int.Parse(Value);
String Value=".";
}
}
}
static void Main(string[],args)
{
int i=9,int j=9;
GeneratePointMatrix();
Console.WriteLine();
Console.ReadLine();
}
Error 3 Identifier expected; 'int' is a keyword C:\Users\zhanglei\Documents\Visual Studio 2010\Projects\ConsoleApplication13\ConsoleApplication13\Program.cs 25 20 ConsoleApplication13
Error 1 Identifier expected C:\Users\zhanglei\Documents\Visual Studio 2010\Projects\ConsoleApplication13\ConsoleApplication13\Program.cs 23 33 ConsoleApplication13
Error 2 Identifier expected C:\Users\zhanglei\Documents\Visual Studio 2010\Projects\ConsoleApplication13\ConsoleApplication13\Program.cs 23 38 ConsoleApplication13
还是有3个错误,怎么弄呢
[此贴子已经被作者于2016-3-21 11:12编辑过]