c# split a string and return list

C#
listStrLineElements = line.Split(',').ToList();
Source

Also in C#: