Algorithms..::..IsProperSubsetOf<(Of <(<'T>)>)> Method (IEnumerable<(Of <(<'T>)>)>, IEnumerable<(Of <(<'T>)>)>)
Determines if one collection is a proper subset of another, considered as sets. The first set is a proper subset
of the second set if every item in the first set also occurs in the second set, and the first set is strictly smaller than
the second set. If an item appears X times in the first set,
it must appear at least X times in the second set.
Namespace:
Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
public static bool IsProperSubsetOf<T>( IEnumerable<T> collection1, IEnumerable<T> collection2 )
Public Shared Function IsProperSubsetOf(Of T) ( _ collection1 As IEnumerable(Of T), _ collection2 As IEnumerable(Of T) _ ) As Boolean
public: generic<typename T> static bool^ IsProperSubsetOf( IEnumerable<T>^ collection1, IEnumerable<T>^ collection2 )
Type Parameters
- T
Parameters
- collection1
- Type: IEnumerable<(Of <(<'T>)>)>
The first collection.
- collection2
- Type: IEnumerable<(Of <(<'T>)>)>
The second collection.