Generic array datatype.
    public class Array<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable

Generic array, contains several elements of any type, accessible by a numerical index starting at 0. Negative indices can be used to count from the back, like in Python (-1 is the last element, -2 the second to last, etc.). Example:

[codeblock]

var array = [“One”, 2, 3, “Four”]

print(array[0]) # One

print(array[2]) # 3

print(array[-1]) # Four

array[2] = “Three”

print(array[-2]) # Three

[/codeblock]

Arrays are always passed by reference.

Inheritance Chain

Interfaces

Constructors

    public Array()

    public Array(Array array)

Properties

    public int Count { get; }

    public bool IsReadOnly { get; }

    public T this[] { get; set; }

Methods

    public void Add(T item)

    public void Clear()

    public bool Contains(T item)

    public void CopyTo(T[] array, int arrayIndex)

    public IEnumerator<T> GetEnumerator()

    public int IndexOf(T item)

    public void Insert(int index, T item)

    public bool Remove(T item)

    public void RemoveAt(int index)

Conversion Operators

    public static explicit operator Array(Array<T> from)
Tags: