I have a Console.ReadLine();
and I input 1 2 3
with spaces between.
Then I want the numbers to be saved in an array like this {1,2,3}
basically I want to take the spaces and tell c# to make them Index seperators.
anyvar = Convert.ToInt32(Console.ReadLine());
Int[] arrayvar = {};
Console.WriteLine(arrayvar[1]); // expects 2