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