string source = "1,2,3,4,5"; List<int> result = new List<string>(source.Split(',')).ConvertAll(i => int.Parse(i));