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