Equivalent< TSource >
(
first
, second
)
|
Compares two collections while handling null cases and returns true if they are equal or both null.
Signature
static bool Meta.WitAi.EnumerableExtensions.Equivalent< TSource >(this System.Collections.Generic.IEnumerable< TSource > first, System.Collections.Generic.IEnumerable< TSource > second) Parameters first: this System.Collections.Generic.IEnumerable< TSource >
The first collection.
second: System.Collections.Generic.IEnumerable< TSource >
The second collection.
Returns bool
True if both have the same elements or are both null.
|