5
Reply

Convert an int to a int[]

Frohikki

Frohikki

Sep 16 2012 5:59 PM
1.4k
Hi 
I'm using the same method for user input. So I have the same method for reading an int and to read in values to a int[] - array. I get a error saying can't convert type int to int[]. I can't use any other method I have to use the same method for collecting data for both the int and the array. Is there any way to solve this.
Greatfull for the help.

Answers (5)