Click or drag to resize

IListExtensionMethods Class

Class for IList related extension methods.
Inheritance Hierarchy
System.Object
  SD.Tools.BCLExtensions.CollectionsRelated.IListExtensionMethods

Namespace:  SD.Tools.BCLExtensions.CollectionsRelated
Assembly:  SD.Tools.BCLExtensions (in SD.Tools.BCLExtensions.dll) Version: 1.2.0
Syntax
public static class IListExtensionMethods

The IListExtensionMethods type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAddRange<T>
Adds the range specified to an IList(Of T) typed container.
Public methodStatic memberBinarySearch<T>
Searches for the element specified in the sorted list specified using binary search http://en.wikipedia.org/wiki/Binary_search. The algorithm is re-implemented here to be able to search in any sorted IList implementing data structure (.NET's BCL only implements BinarySearch on arrays and List(Of T). If no IComparer(Of T) is available, try using Algorithmia's ComparisonBasedComparer,
Public methodStatic memberIsNullOrEmpty<T>
Determines whether the passed in list is null or empty.
Public methodStatic memberSwapValues<T>
Swaps the values at indexA and indexB.
Top
See Also