how to get count of splitted string in array in c# code example Example: c# split a string and return list listStrLineElements = line.Split(',').ToList();