Looked through the documentation in the .NET reference but it didn’t say.
List<TransactionInfo> currentIdsForValuation = allIds.GetRange(counter, 7000);
Will this fail if the list has less than 7000 items remaining? Or will it just take all the remaining elements? I want the latter.
According to http://msdn.microsoft.com/en-us/library/21k0e39c.aspx,
A tip: Use a tool such as LINQPad to try out small bits of code yourself, if you’re unsure of things like this. Don’t let the name fool you, it’s a rather nicely featured code scratch pad.