class Program
{
public void GeneratePointMatrix(int x, int y,string Value)
{
for (int i=0;i<9;i++)
{
for (int j=0;j<9;j++)
{
int x=int.Parse(Value);
int y=int.Parse(Value);
}
}
}
static void Main(string[],args)
{
GeneratePointMatrix();
String Value=".";
Console.WriteLine();
Console.ReadLine();
}
}
Error
5
The type or namespace name 'args' could not be found (are you missing a using directive or an assembly reference?)
C:\Users\zhanglei\Documents\Visual Studio 2010\Projects\ConsoleApplication13\ConsoleApplication13\Program.cs
21
34
ConsoleApplication13
Error
6
No overload for method 'GeneratePointMatrix' takes 0 arguments
C:\Users\zhanglei\Documents\Visual Studio 2010\Projects\ConsoleApplication13\ConsoleApplication13\Program.cs
23
12
ConsoleApplication13
Error
1
Identifier expected
C:\Users\zhanglei\Documents\Visual Studio 2010\Projects\ConsoleApplication13\ConsoleApplication13\Program.cs
21
33
ConsoleApplication13
Error
2
Identifier expected
C:\Users\zhanglei\Documents\Visual Studio 2010\Projects\ConsoleApplication13\ConsoleApplication13\Program.cs
21
38
ConsoleApplication13
Error
4
A local variable named 'y' cannot be declared in this scope because it would give a different meaning to 'y', which is already used in a 'parent or current' scope to denote something else
C:\Users\zhanglei\Documents\Visual Studio 2010\Projects\ConsoleApplication13\ConsoleApplication13\Program.cs
17
25
ConsoleApplication13
Error
3
A local variable named 'x' cannot be declared in this scope because it would give a different meaning to 'x', which is already used in a 'parent or current' scope to denote something else
C:\Users\zhanglei\Documents\Visual Studio 2010\Projects\ConsoleApplication13\ConsoleApplication13\Program.cs
16
25
ConsoleApplication13