Click or drag to resize

Array Class

Internal type that implements the VO Compatible ARRAY type.
This type has methods and properties that normally are never directly called from user code.
Inheritance Hierarchy
Object
  Array OfUsual
    Array

Namespace:  XSharp
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.5
Syntax
 SEALED CLASS Array INHERIT ARRAY OF<USUAL>, 
	 IMPLEMENTS IIndexer

The Array type exposes the following members.

Constructors
  NameDescription
Public methodArray
Create an empty array
Public methodArray(Object)
Create an array and fill it with elements from an existing .Net array of objects. Note that the objects must be of the right type.
Public methodArray(UInt32)
Create an array with a certain capacity.
Public methodArray(Usual)
Create an array and fill it with elements from an existing .Net array of USUALS
Public methodArray(UInt32, Boolean)
Create an array with a certain capacity and specify if it should be filled with default values.
Top
Properties
Remarks
The indexer in this type is ZERO based, however in your PRG code you can use ONE based array indices. When the compiler detects an index operation to a class that implements this interface then the compiler will automatically adjust the indices (by subtracting one) unless the /az compiler option is enabled.
See Also