split comma separated string in c# and insert into list code example Example: c# split a string and return list listStrLineElements = line.Split(',').ToList();