A LINQ Style Operator to Set the Length of a Sequence

added by Richard Carr
5/28/2013 9:15:41 PM

0 Kicks, 60 Views

Sometimes it is necessary to modify the length of a sequence of values to achieve a fixed length. This may require that values at the end of the sequence are omitted or that new elements are added to achieve the desired length.