how to split string by and add into the list in c# code example Example: c# split a string and return list listStrLineElements = line.Split(',').ToList();