Project Description
NExtension is a user contributed library of Extension methods for .NET. If you would like to contribute an extension, please join our discussion forum.

If you wish to add an extension to the library, please post your idea to the discussions list. If you're feeling lazy just tell us what you want the extension to do and we'll see if we can implement it.

Currently Implemented Methods

  • ForEach Performs a specified action on each element of the IEnumerable<T>.
  • Clump Groups items into same size lots.
  • Scan Creates a list by applying a delegate to pairs of items in the IEnumerable<T>.
  • AtLeast Checks there are at least a certain amount of items in the IEnumerable<T>.
  • AtMost Checks there are no more than a certain amount of items in the IEnumerable<T>.
  • Zip Creates a list by combining two other lists into one.
  • Cycle Creates a list by repeating another list.

  • FormatWith Replaces the format item in a specified System.String wht the text equivalent of the value of a corresponding System.Object instance in a specified array.
  • IsImplementationOf Checks a System.Type to see if it implements a given interface.
  • Iterate Creates a list by applying a function to the last item in the list to generate the next item.
  • Repeat Creates a list of items by repeating the same item.

Last edited Oct 24, 2008 at 2:26 AM by cameronm, version 3