c# how to split string on comma code example Example: c# separate string by comma string[] words = phrase.Split(' ');