c# split few characters code example
Example 1: split with multiple delimiters c#
string [] split = strings.Split(new Char[] { ',', '\\', '\n' },
StringSplitOptions.RemoveEmptyEntries);
Example 2: c# split a string and return list
listStrLineElements = line.Split(',').ToList();