Mono Class Library: OverviewSystem.Array: Method Members |
The methods of System.Array are listed below. For a list of all members, see the Array Members list.
See Also: Inherited members from System.Object
staticAsReadOnly<T>(T[]) : System.Collections.ObjectModel.ReadOnlyCollection<T> Returns a read-only System.Collections.Generic.IList<T> wrapper around the specified array. staticBinarySearch(Array, object) : int Searches the specified one-dimensional Array for the specified object. staticBinarySearch(Array, object, IComparer) : int Searches the specified one-dimensional Array for the specified value, using the specified IComparer implementation. staticBinarySearch(Array, int, int, object) : int Searches the specified section of the specified one-dimensional Array for the specified value. staticBinarySearch(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. staticBinarySearch<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. staticBinarySearch<T>(T[], T, IComparer<T>) : int Searches an entire one-dimensional sorted array for a value using the specified IComparer<T> interface. staticBinarySearch<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. staticBinarySearch<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. staticClear(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. staticConstrainedCopy(Array, int, Array, int, int) Documentation for this section has not yet been entered. staticConvertAll<TInput,TOutput>(TInput[], Converter<TInput, TOutput>) : TOutput[] Converts an array of one type to an array of another type. staticCopy(Array, Array, int) Copies the specified number of elements from the specified source array to the specified destination array. staticCopy(Array, Array, long) Documentation for this section has not yet been entered. staticCopy(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. staticCopy(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. staticCreateInstance(Type, int) : Array Constructs a zero-based, one-dimensional array with the specified number of elements of the specified type. staticCreateInstance(Type, params int[]) : Array Creates a zero-based, multidimensional array of the specified Type and dimension lengths. staticCreateInstance(Type, params long[]) : Array Documentation for this section has not yet been entered. staticCreateInstance(Type, int, int) : Array Creates a zero-based, two-dimensional array of the specified Type and dimension lengths. staticCreateInstance(Type, int[], int[]) : Array Creates a multidimensional array whose element type is the specified Type, and dimension lengths and lower bounds, as specified. staticCreateInstance(Type, int, int, int) : Array Creates a zero-based, three-dimensional array of the specified Type and dimension lengths. staticExists<T>(T[], Predicate<T>) : bool Determines whether the specified array contains any element that matches the conditions defined by the specified predicate. staticFind<T>(T[], Predicate<T>) : T Searches for an element that matches the predicate, and returns the first occurrence within the entire array. staticFindAll<T>(T[], Predicate<T>) : T[] Retrieves all the elements that match the conditions defined by the specified predicate. staticFindIndex<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. staticFindIndex<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. staticFindIndex<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. staticFindLast<T>(T[], Predicate<T>) : T Searches for an element that matches the predicate, and returns the last occurrence within the entire array. staticFindLastIndex<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. staticFindLastIndex<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. staticFindLastIndex<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. staticForEach<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. staticIndexOf(Array, object) : int Searches the specified one-dimensional Array, returning the index of the first occurrence of the specified object. staticIndexOf(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. staticIndexOf(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. staticIndexOf<T>(T[], T) : int Searches the specified array, returning the index of the first occurrence of the specified value. staticIndexOf<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. staticIndexOf<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. staticLastIndexOf(Array, object) : int Searches the specified one-dimensional Array, returning the index of the last occurrence of the specified object. staticLastIndexOf(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. staticLastIndexOf(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. staticLastIndexOf<T>(T[], T) : int Searches the specified array, returning the index of the last occurrence of the specified value. staticLastIndexOf<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. staticLastIndexOf<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. staticResize<T>(ref T[], int) Documentation for this section has not yet been entered. staticReverse(Array) Reverses the sequence of the elements in the specified one-dimensional Array. staticReverse(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. staticSort(Array) Sorts the elements of the specified one-dimensional Array. staticSort(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. staticSort(Array, IComparer) Sorts the elements in the specified one-dimensional Array using the specified IComparer implementation. staticSort(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. staticSort(Array, int, int) Sorts the elements in the specified range of the specified one-dimensional Array. staticSort(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. staticSort(Array, int, int, IComparer) Sorts the elements in the specified section of the specified one-dimensional Array using the specified IComparer implementation. staticSort(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. staticSort<T>(T[]) Sorts the elements in an entire array using the IComparable<T> or IComparable implementation of each element of that array. staticSort<T>(T[], IComparer<T>) Sorts the elements in an array using the specified comparer. staticSort<T>(T[], Comparison<T>) Sorts the elements in an array using the specified comparison. staticSort<T>(T[], int, int) Sorts an array using the IComparable<T> or IComparable implementation of each element of that array. staticSort<T>(T[], int, int, IComparer<T>) Sorts the elements in a range of elements in an array using the specified comparer. staticSort<TKey,TValue>(TKey[], TValue[]) Sorts a pair of arrays based on the keys in the first array using the IComparable implementation of each key. staticSort<TKey,TValue>(TKey[], TValue[], IComparer<TKey>) Sorts a pair of arrays based on the keys in the first array, using the specified IComparer. staticSort<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. staticSort<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>. staticTrueForAll<T>(T[], Predicate<T>) : bool Determines whether every element in the array matches the predicate.