parse strings into words C#

C#
// To split a string use 'Split()', you can choose where to split
string text = "Hello World!"
string[] textSplit = text.Split(" ");
// Output:
// ["Hello", "World!"]string text = "Hello World!"
string[] textSplit = text.Split();listStrLineElements = line.Split(',').ToList();
Source

Also in C#: