Show / Hide Table of Contents

Method Union

| Improve this Doc View Source

Union(IScalars, IScalars)

Ensures set contain all elements that are present in either the current set or in the specified collection.

Declaration
public static IScalars Union(this IScalars source, IScalars other)
Parameters
Type Name Description
IScalars source

The current set.

IScalars other

The collection to add elements from.

Returns
Type Description
IScalars

A new set if there is any modification to current set and current set sealed; otherwise, the current set.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest