Mono Class Library: Overview

System.Array: Members

The members of System.Array are listed below.

See Also: Inherited members from System.Object

Public Properties

[read-only]
IsFixedSizebool. Implemented to support the IList interface. [Note: For more information, see IList.IsFixedSize.]
[read-only]
IsReadOnlybool. Implemented to support the IList interface. [Note: For more information, see IList.IsReadOnly.]
[read-only]
IsSynchronizedbool. Implemented to support the ICollection interface. [Note: For more information, see ICollection.IsSynchronized.]
[read-only]
Lengthint. Gets the total number of elements in all the dimensions of the current instance.
[read-only]
LongLengthlong. Gets the total number of elements in all the dimensions of the current instance.
[read-only]
Rankint. Gets the rank (number of dimensions) of the current instance.
[read-only]
SyncRootobject. Implemented to support the ICollection interface. [Note: For more information, see ICollection.SyncRoot.]

Public Methods

static
AsReadOnly<T>(T[]) : System.Collections.ObjectModel.ReadOnlyCollection<T>
Returns a read-only System.Collections.Generic.IList<T> wrapper around the specified array.
static
BinarySearch(Array, object) : int
Searches the specified one-dimensional Array for the specified object.
static
BinarySearch(Array, object, IComparer) : int
Searches the specified one-dimensional Array for the specified value, using the specified IComparer implementation.
static
BinarySearch(Array, int, int, object) : int
Searches the specified section of the specified one-dimensional Array for the specified value.
static
BinarySearch(Array, int, int, object, IComparer) : int
Searches the specified section of the specified one-dimensional Array for the specified value, using the specified IComparer implementation.
static
BinarySearch<T>(T[], T) : int
Searches an entire one-dimensional sorted array for a specific element, using the IComparable<T> or IComparable interface implemented by each element of the array and by the specified object.
static
BinarySearch<T>(T[], T, IComparer<T>) : int
Searches an entire one-dimensional sorted array for a value using the specified IComparer<T> interface.
static
BinarySearch<T>(T[], int, int, T) : int
Searches a range of elements in a one-dimensional sorted array for a value, using the IComparable interface implemented by each element of the array and by the specified value.
static
BinarySearch<T>(T[], int, int, T, IComparer<T>) : int
Searches a range of elements in a one-dimensional sorted array for a value, using the specified IComparer<T> interface.
static
Clear(Array, int, int)
Sets the specified range of elements in the specified Array to zero, false, or to a null reference, depending on the element type.
Clone() : object
Returns a object that is a copy of the current instance.
static
ConstrainedCopy(Array, int, Array, int, int)
Documentation for this section has not yet been entered.
static
ConvertAll<TInput,TOutput>(TInput[], Converter<TInput, TOutput>) : TOutput[]
Converts an array of one type to an array of another type.
static
Copy(Array, Array, int)
Copies the specified number of elements from the specified source array to the specified destination array.
static
Copy(Array, Array, long)
Documentation for this section has not yet been entered.
static
Copy(Array, int, Array, int, int)
Copies the specified number of elements from a source array starting at the specified source index to a destination array starting at the specified destination index.
static
Copy(Array, long, Array, long, long)
Documentation for this section has not yet been entered.
CopyTo(Array, int)
Copies all the elements of the current zero-based instance to the specified one-dimensional array starting at the specified subscript in the destination array.
CopyTo(Array, long)
Documentation for this section has not yet been entered.
static
CreateInstance(Type, int) : Array
Constructs a zero-based, one-dimensional array with the specified number of elements of the specified type.
static
CreateInstance(Type, params int[]) : Array
Creates a zero-based, multidimensional array of the specified Type and dimension lengths.
static
CreateInstance(Type, params long[]) : Array
Documentation for this section has not yet been entered.
static
CreateInstance(Type, int, int) : Array
Creates a zero-based, two-dimensional array of the specified Type and dimension lengths.
static
CreateInstance(Type, int[], int[]) : Array
Creates a multidimensional array whose element type is the specified Type, and dimension lengths and lower bounds, as specified.
static
CreateInstance(Type, int, int, int) : Array
Creates a zero-based, three-dimensional array of the specified Type and dimension lengths.
static
Exists<T>(T[], Predicate<T>) : bool
Determines whether the specified array contains any element that matches the conditions defined by the specified predicate.
static
Find<T>(T[], Predicate<T>) : T
Searches for an element that matches the predicate, and returns the first occurrence within the entire array.
static
FindAll<T>(T[], Predicate<T>) : T[]
Retrieves all the elements that match the conditions defined by the specified predicate.
static
FindIndex<T>(T[], Predicate<T>) : int
Searches for an element that matches the predicate, and returns the zero-based index of the first occurrence within the entire array.
static
FindIndex<T>(T[], int, Predicate<T>) : int
Searches for an element that matches the predicate, and returns the zero-based index of the first occurrence within the range of elements in the array that extends from the specified index to the last element.
static
FindIndex<T>(T[], int, int, Predicate<T>) : int
Searches for an element that matches the predicate, and returns the zero-based index of the first occurrence within the range of elements in the array that starts at the specified index and contains the specified number of elements.
static
FindLast<T>(T[], Predicate<T>) : T
Searches for an element that matches the predicate, and returns the last occurrence within the entire array.
static
FindLastIndex<T>(T[], Predicate<T>) : int
Searches for an element that matches the predicate, and returns the zero-based index of the last occurrence within the entire array.
static
FindLastIndex<T>(T[], int, Predicate<T>) : int
Searches for an element that matches the predicate, and returns the zero-based index of the last occurrence within the range of elements in the array that extends from the specified index to the last element.
static
FindLastIndex<T>(T[], int, int, Predicate<T>) : int
Searches for an element that matches the predicate, and returns the zero-based index of the last occurrence within the range of elements in the array that ends at the specified index and contains the specified number of elements.
static
ForEach<T>(T[], Action<T>)
Performs the specified action on each element of the specified array.
GetEnumerator() : IEnumerator
Returns a IEnumerator for the current instance.
GetLength(int) : int
Gets the number of elements in the specified dimension of the array.
GetLongLength(int) : long
Documentation for this section has not yet been entered.
GetLowerBound(int) : int
Returns the lower bound of the specified dimension in the current instance.
GetUpperBound(int) : int
Returns the upper bound of the specified dimension in the current instance.
GetValue(int) : object
Gets the value at the specified position in the current one-dimensional instance.
GetValue(params int[]) : object
Gets the value at the specified position in the current multidimensional instance.
GetValue(long) : object
Documentation for this section has not yet been entered.
GetValue(params long[]) : object
Documentation for this section has not yet been entered.
GetValue(int, int) : object
Gets the value at the specified position in the current two-dimensional instance.
GetValue(long, long) : object
Documentation for this section has not yet been entered.
GetValue(int, int, int) : object
Gets the value at the specified position in the current three-dimensional instance.
GetValue(long, long, long) : object
Documentation for this section has not yet been entered.
static
IndexOf(Array, object) : int
Searches the specified one-dimensional Array, returning the index of the first occurrence of the specified object.
static
IndexOf(Array, object, int) : int
Searches the specified one-dimensional Array, returning the index of the first occurrence of the specified object between the specified index and the last element.
static
IndexOf(Array, object, int, int) : int
Searches the specified one-dimensional Array, returning the index of the first occurrence of the specified object in the specified range.
static
IndexOf<T>(T[], T) : int
Searches the specified array, returning the index of the first occurrence of the specified value.
static
IndexOf<T>(T[], T, int) : int
Searches the specified array, returning the index of the first occurrence in the specified array starting at the specified index and including the last element.
static
IndexOf<T>(T[], T, int, int) : int
Searches for the specified value and returns the index of the first occurrence within the range of elements in the array starting at the specified index and continuing for, at most, the specified number of elements.
Initialize()
Initializes every element of the current instance of value-type objects by calling the default constructor of that value type.
static
LastIndexOf(Array, object) : int
Searches the specified one-dimensional Array, returning the index of the last occurrence of the specified object.
static
LastIndexOf(Array, object, int) : int
Searches the specified one-dimensional Array, returning the index of the last occurrence of the specified object between the specified index and the first element.
static
LastIndexOf(Array, object, int, int) : int
Searches the specified one-dimensional Array, returning the index of the last occurrence of the specified object in the specified range.
static
LastIndexOf<T>(T[], T) : int
Searches the specified array, returning the index of the last occurrence of the specified value.
static
LastIndexOf<T>(T[], T, int) : int
Searches the specified array backwards, returning the index of the last occurrence of the specified array, starting at the specified index.
static
LastIndexOf<T>(T[], T, int, int) : int
Searches for the specified value and returns the index of the last occurrence within the range of elements in the array starting at the specified index and continuing backwards for, at most, the specified number of elements.
static
Resize<T>(ref T[], int)
Documentation for this section has not yet been entered.
static
Reverse(Array)
Reverses the sequence of the elements in the specified one-dimensional Array.
static
Reverse(Array, int, int)
Reverses the sequence of the elements in the specified range of the specified one-dimensional Array.
SetValue(object, int)
Sets the value of the element at the specified position in the current one-dimensional instance.
SetValue(object, params int[])
Sets the value of the element at the specified position in the current multidimensional instance.
SetValue(object, long)
Documentation for this section has not yet been entered.
SetValue(object, params long[])
Documentation for this section has not yet been entered.
SetValue(object, int, int)
Sets the value of the element at the specified position in the current two-dimensional instance.
SetValue(object, long, long)
Documentation for this section has not yet been entered.
SetValue(object, int, int, int)
Sets the value of the element at the specified position in the current three-dimensional instance.
SetValue(object, long, long, long)
Documentation for this section has not yet been entered.
static
Sort(Array)
Sorts the elements of the specified one-dimensional Array.
static
Sort(Array, Array)
Sorts the specified pair of one-dimensional Array objects (one containing a set of keys and the other containing corresponding items) based on the keys in the first specified Array.
static
Sort(Array, IComparer)
Sorts the elements in the specified one-dimensional Array using the specified IComparer implementation.
static
Sort(Array, Array, IComparer)
Sorts the specified pair of one-dimensional Array objects (one containing a set of keys and the other containing corresponding items) based on the keys in the first specified Array using the specified IComparer implementation.
static
Sort(Array, int, int)
Sorts the elements in the specified range of the specified one-dimensional Array.
static
Sort(Array, Array, int, int)
Sorts the specified ranges of the specified pair of one-dimensional Array objects (one containing a set of keys and the other containing corresponding items) based on the keys in the first specified Array.
static
Sort(Array, int, int, IComparer)
Sorts the elements in the specified section of the specified one-dimensional Array using the specified IComparer implementation.
static
Sort(Array, Array, int, int, IComparer)
Sorts the specified range of the specified pair of one-dimensional Array objects (one containing a set of keys and the other containing corresponding items) based on the keys in the first specified Array using the specified IComparer implementation.
static
Sort<T>(T[])
Sorts the elements in an entire array using the IComparable<T> or IComparable implementation of each element of that array.
static
Sort<T>(T[], IComparer<T>)
Sorts the elements in an array using the specified comparer.
static
Sort<T>(T[], Comparison<T>)
Sorts the elements in an array using the specified comparison.
static
Sort<T>(T[], int, int)
Sorts an array using the IComparable<T> or IComparable implementation of each element of that array.
static
Sort<T>(T[], int, int, IComparer<T>)
Sorts the elements in a range of elements in an array using the specified comparer.
static
Sort<TKey,TValue>(TKey[], TValue[])
Sorts a pair of arrays based on the keys in the first array using the IComparable implementation of each key.
static
Sort<TKey,TValue>(TKey[], TValue[], IComparer<TKey>)
Sorts a pair of arrays based on the keys in the first array, using the specified IComparer.
static
Sort<TKey,TValue>(TKey[], TValue[], int, int)
Sorts a range of elements in a pair of arrays based on the keys in the first array, using the IComparable<K> or IComparable implementation of each key.
static
Sort<TKey,TValue>(TKey[], TValue[], int, int, IComparer<TKey>)
Sorts a range of elements in a pair of arrays based on the keys in the first array using the specified IComparer<K>.
static
TrueForAll<T>(T[], Predicate<T>) : bool
Determines whether every element in the array matches the predicate.

Explicitly Implemented Interface Members

IList.AddImplemented to support the IList interface. [Note: For more information, see IList.Add.]
IList.ClearImplemented to support the IList interface. [Note: For more information, see IList.Clear.]
IList.ContainsImplemented to support the IList interface. [Note: For more information, see IList.Contains.]
[read-only]
ICollection.Countint. Implemented to support the ICollection interface. [Note: For more information, see ICollection.Count.]
IList.IndexOfImplemented to support the IList interface. [Note: For more information, see IList.IndexOf.]
IList.InsertImplemented to support the IList interface. [Note: For more information, see IList.Insert.]
IList.Itemobject. Implemented to support the IList interface. [Note: For more information, see IList.Item.]
IList.RemoveImplemented to support the IList interface. [Note: For more information, see IList.Remove.]
IList.RemoveAtImplemented to support the IList interface. [Note: For more information, see IList.RemoveAt.]

Extension Methods

static
AsQueryable(this IEnumerable) : System.Linq.IQueryable
Documentation for this section has not yet been entered.
static
Cast<TResult>(this IEnumerable) : IEnumerable<TResult>
Documentation for this section has not yet been entered.
static
OfType<TResult>(this IEnumerable) : IEnumerable<TResult>
Documentation for this section has not yet been entered.