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