API reference

EnumerableExtensions Class

Overview

Object Data

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.

Details

Object Data

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.
second
The second collection.
Others
TSource
The type of the collection.
Returns
True if both have the same elements or are both null.