If customerList
is a big string:
var sublists = customerList
.Split(",")
.Select((x, i) => new { Index = i, Value = x })
.GroupBy(x => x.Index / 2000)
.Select(x => x.Select(v => v.Value).ToList())
.ToList();
Is the same solution as here but you must add Split
Method first.