Which LINQ method was added in .NET 8 to chunk an IEnumerable?
-
A
Slice()
-
B
Chunk()
Correct answer
-
C
Partition()
-
D
Segment()
Correct answer
B. Chunk()
16 views
Explanation
Chunk() extension slices a sequence into equal-size chunks.
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ