I am using Microsoft Visual Studio 2010 and C#. This is a function that is being called form elsewhere in my console program, but I can\'t seem to get input into the array <
You're trying to use an int like an int[] array.
int
int[]
Here:
static void GetPoints(int ipoints, string srestaurant) // ^^^^^^ not an array
You're doing it here:
ipoints[index] = iinput; // ^^^^^^^ its not an array
Either make it an array, or rethink what you're trying to do.