I am new to C# programming. I am developing an application and am stuck in a part of it. I want to take an input from the user(console mode) and the input would be a series of numbers like 25 40 84 52 15 21 45 or 25,40,45,57,23,44 . As I am taking the input from the user the numbers can be seprated by a space or a comma. I want to take these numbers and store it in an integer array. If anyone can guide me as to how this is done or maybe can point me to a relevant reference. I tried searching for this on internet but couldn't find much help