c# string to list with separator code example Example: c# split a string and return list listStrLineElements = line.Split(',').ToList();