c# split to array and tri code example
Example 1: how to split concat string c#
var array = theString.Split(' ', 2);
Example 2: c# split a string and return list
listStrLineElements = line.Split(',').ToList();
var array = theString.Split(' ', 2);
listStrLineElements = line.Split(',').ToList();