Error!
Success!

Refactoring Partition List

0
kicks

Refactoring Partition List  (Unpublished)

I came across an article on Visual C# Kicks that describes how to partition a list. The author’s goal is to split a list of elements into an array of smaller list, and the author succeeds at that. Unfortunately, the code appears to be designed for C# 2.0 instead of C# 3.0. I’m going to examine the second version of the method the author posted, explain the problems I have with it, then refactor it to work it to be fluent.


Kicked By:
Drop Kicked By: