separate elements in string by comma c# code example Example: c# separate string by comma string[] words = phrase.Split(' ');