• Produces the symmetric difference of two sequences.

    Type Parameters

    • TSource

    Parameters

    • src: Iterable<TSource>

      The source Iterable

    • second: Iterable<TSource>

      The second Iterable whose distinct elements form the second or more set for the symmetric difference.

    Returns IEnumerable<TSource>

    An IEnumerable that contains the symmetric difference from all input sequences, excluding duplicates.

    TSource The type of source elements.

  • Produces the symmetric difference of two or more sequences.

    Type Parameters

    • TSource

    Parameters

    • src: Iterable<TSource>

      The source Iterable

    • ...second: Iterable<TSource>[]

      One or more Iterable whose distinct elements form the second or more set for the symmetric difference.

    Returns IEnumerable<TSource>

    An IEnumerable that contains the symmetric difference from all input sequences, excluding duplicates.

    TSource The type of source elements.

  • Produces the symmetric difference of two sequences using a provided equality comparer.

    Type Parameters

    • TSource

    Parameters

    • src: Iterable<TSource>

      The source Iterable

    • second: Iterable<TSource>

      An Iterable whose distinct elements form the second set for the symmetric difference.

    • equalityComparer: EqualityComparer<TSource>

      The EqualityComparer to compare values.

    Returns IEnumerable<TSource>

    An IEnumerable that contains the symmetric difference from all input sequences, excluding duplicates.

    TSource The type of source elements.

  • Produces the symmetric difference of three sequences using a provided equality comparer.

    Type Parameters

    • TSource

    Parameters

    • src: Iterable<TSource>

      The source Iterable

    • second: Iterable<TSource>

      An Iterable whose distinct elements form the second set for the symmetric difference.

    • third: Iterable<TSource>

      An Iterable whose distinct elements form the third set for the symmetric difference.

    • equalityComparer: EqualityComparer<TSource>

      The EqualityComparer to compare values.

    Returns IEnumerable<TSource>

    An IEnumerable that contains the symmetric difference from all input sequences, excluding duplicates.

    TSource The type of source elements.

  • Produces the symmetric difference of four sequences using a provided equality comparer.

    Type Parameters

    • TSource

    Parameters

    • src: Iterable<TSource>

      The source Iterable

    • second: Iterable<TSource>

      An Iterable whose distinct elements form the second set for the symmetric difference.

    • third: Iterable<TSource>

      An Iterable whose distinct elements form the third set for the symmetric difference.

    • fourth: Iterable<TSource>

      An Iterable whose distinct elements form the fourth set for the symmetric difference.

    • equalityComparer: EqualityComparer<TSource>

      The EqualityComparer to compare values.

    Returns IEnumerable<TSource>

    An IEnumerable that contains the symmetric difference from all input sequences, excluding duplicates.

    TSource The type of source elements.