I was trying to create a list from a user input with something like this:
Create newlist: word1, word2, word3, etc...,
but how do I get those words one by one only by using commas as references going through them (in order) and placing them into an Array etc? Example:
        string Input = Console.ReadLine();
        if (Input.Contains("Create new list:"))
        {
            foreach (char character in Input)
            {
                if (character == ',')//when it reach a comma
                {
                    //code goes here, where I got stuck...
                }
            }
        }
Edit: I didn`t know the existence of "Split" my mistake... but at least it would great if you could explain me to to use it for the problem above?
 
     
     
    