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