Click or drag to resize

IEnumerableExtensionMethods Class

Class for IEnumberable and IEnumerable(Of T) related extension methods.
Inheritance Hierarchy
System.Object
  SD.Tools.BCLExtensions.CollectionsRelated.IEnumerableExtensionMethods

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

The IEnumerableExtensionMethods type exposes the following members.

Methods
  NameDescription
Public methodStatic memberSetEqual<T>(IEnumerable<T>, IEnumerable<T>)
Checks whether the enumerable to compare with is equal to the source enumerable, element wise. If elements are in a different order, the method will still return true. This is different from SequenceEqual which does take order into account
Public methodStatic memberSetEqual<T>(IEnumerable<T>, IEnumerable<T>, IEqualityComparer<T>)
Checks whether the enumerable to compare with is equal to the source enumerable, element wise. If elements are in a different order, the method will still return true. This is different from SequenceEqual which does take order into account
Public methodStatic memberToHashSet<TDestination>
Creates a new hashset and adds the source to it.
Public methodStatic memberToReadOnlyCollection<TDestination>
Converts the enumerable to a ReadOnlyCollection.
Top
See Also