How can I convert comma separated string into a List [duplicate] October 6, 2022 by Tarik Here is one way of doing it: List<int> TagIds = tags.Split(',').Select(int.Parse).ToList();