Recently i'm trying to do competitive programming with C# and i'm curious if there's a way to get an (array of) integer input. The method I all know is this
// for an array of integersint[] arrayInput = Console.ReadLine().Split(' ').Select(Int32.Parse).ToArray()// for one integerint singleInput = Int32.Parse(Console.ReadLine())
// for an array of integersint[] arrayInput = Console.ReadLine().Split(' ').Select(Int32.Parse).ToArray()// for one integerint singleInput = Int32.Parse(Console.ReadLine())