DoubleCollection Constructors

Definition

Initializes a new instance of the DoubleCollection class.

Overloads

DoubleCollection()

Initializes a new instance of the DoubleCollection class.

DoubleCollection(IEnumerable<Double>)

Initializes a new instance of the DoubleCollection class with the specified collection of Double values.

DoubleCollection(Int32)

Initializes a new instance of the DoubleCollection class with the specified capacity, or the number of Double values the collection is initially capable of storing.

DoubleCollection()

Initializes a new instance of the DoubleCollection class.

C#
public DoubleCollection();

See also

Applies to

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

DoubleCollection(IEnumerable<Double>)

Initializes a new instance of the DoubleCollection class with the specified collection of Double values.

C#
public DoubleCollection(System.Collections.Generic.IEnumerable<double> collection);

Parameters

collection
IEnumerable<Double>

The collection of Double values that make up the DoubleCollection.

Exceptions

collection is null.

Applies to

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

DoubleCollection(Int32)

Initializes a new instance of the DoubleCollection class with the specified capacity, or the number of Double values the collection is initially capable of storing.

C#
public DoubleCollection(int capacity);

Parameters

capacity
Int32

The number of Double values that the collection is initially capable of storing.

Applies to

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10