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)
public RhinoList(
	int amount,
	T defaultValue


Type: SystemInt32
Number of values to add to this list. Must be equal to or larger than zero.
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.20
See Also