I'm sending SMSs in a batch of 20, so when I extract from my context/db all the SMSs that need sending I'd like to save them in a List of Lists of 20 SMS, like thisList<List<SMS>>
.
I'm currently doing it with a for loop but was wondering if there is a way to do it with a single Lambda, that I can't think of?
>`. The partitioner might be better if you wanted to enumerate across each chunk on multiple threads via a `Parallel.ForEach` loop or something (rather than creating a collection of chunks to enumerate over later)
– p3tch Jul 17 '18 at 09:27