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