• Produces the set union of two sequences.

    Type Parameters

    • TSource

    Parameters

    • src: Iterable<TSource>

      The source Iterable

    • second: Iterable<TSource>

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

    Returns IEnumerable<TSource>

    An IEnumerable that contains the elements from both input sequences, excluding duplicates.

    TSource The type of source elements.

  • Produces the set union 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 set for the union.

    Returns IEnumerable<TSource>

    An IEnumerable that contains the elements from both input sequences, excluding duplicates.

    TSource The type of source elements.

  • Produces the set union of two sequences.

    Type Parameters

    • TSource

    Parameters

    • src: Iterable<TSource>

      The source Iterable

    • second: Iterable<TSource>

      An IEnumerable whose distinct elements form the second set for the union.

    • equalityComparer: EqualityComparer<TSource>

      The EqualityComparer to compare values.

    Returns IEnumerable<TSource>

    An IEnumerable that contains the elements from both input sequences, excluding duplicates.

    TSource The type of source elements.

  • Produces the set union of two sequences.

    Type Parameters

    • TSource

    Parameters

    • src: Iterable<TSource>

      The source Iterable

    • second: Iterable<TSource>

      An IEnumerable whose distinct elements form the second set for the union.

    • third: Iterable<TSource>

      An IEnumerable whose distinct elements form the third set for the union.

    • equalityComparer: EqualityComparer<TSource>

      The EqualityComparer to compare values.

    Returns IEnumerable<TSource>

    An IEnumerable that contains the elements from both input sequences, excluding duplicates.

    TSource The type of source elements.

  • Produces the set union of two sequences.

    Type Parameters

    • TSource

    Parameters

    • src: Iterable<TSource>

      The source Iterable

    • second: Iterable<TSource>

      An IEnumerable whose distinct elements form the second set for the union.

    • third: Iterable<TSource>

      An IEnumerable whose distinct elements form the third set for the union.

    • fourth: Iterable<TSource>

      An IEnumerable whose distinct elements form the fourth set for the union.

    • equalityComparer: EqualityComparer<TSource>

      The EqualityComparer to compare values.

    Returns IEnumerable<TSource>

    An IEnumerable that contains the elements from both input sequences, excluding duplicates.

    TSource The type of source elements.