You are trying to refer to variables that have not been defined, or defined incorrectly.
int[0]userNum = scnr.NextInt();
You cannot declare an array with zero components. Change your code to something like:
int count = scnr.NextInt();
int[] myVals = new int[count];
for (int i = 0; i < count; i++) {
}