Partitions the underlying collection into the given number of partitions.
Assemblies: mscorlib (in mscorlib.dll)
System.Collections.Concurrent (in System.Collections.Concurrent.dll)
A class that implements this method is expected to return exactly the number of partitions that are specified in partitionCount. If a partition contains no elements, then return an empty enumerator rather than null (Nothing in Visual Basic). For more information, see Custom Partitioners for PLINQ and TPL.