Click or drag to resize

RhinoListT Constructor (Int32, T)

Initializes a new list with a specified amount of values.

Namespace:  Rhino.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public RhinoList(
	int amount,
	T defaultValue
)

Parameters

amount
Type: SystemInt32
Number of values to add to this list. Must be equal to or larger than zero.
defaultValue
Type: T
Value to add, for reference types, the same item will be added over and over again.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.4
See Also