-5

What kind of identifier does the visual studio needs ? i just want to put from outside one int array with 2 different numbers between 0 and 66.

    public static void playerLocationChange(int[])
    {

    }
nightxx
  • 25
  • 6

1 Answers1

3

You have to give the parameter a name. Otherwise, you have no way of referring to it from the function.

public static void playerLocationChange(int[] myIntArrayParam) 
                                        //Notice the name next to int[]
                                        //This is the parameter's name
{

}
BradleyDotNET
  • 60,462
  • 10
  • 96
  • 117