Mono Class Library: System.Array Overview | MembersSystem.Array.Initialize Method |
Initializes every element of the current instance of value-type objects by calling the default constructor of that value type. [Edit]
|
This method cannot be used on reference-type arrays.
If the current instance is not a value-type Array or if the value type does not have a default constructor, the current instance is not modified.
The current instance can have any lower bound and any number of dimensions.
Note: This method can be used only on value types that have constructors.[Edit]
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0