Array Methods |
The Array type exposes the following members.
Name | Description | |
---|---|---|
AsReadOnlyT | Returns a read-only wrapper for the specified array. | |
Clear | Sets a range of elements in the Array to zero, to false, or to null, depending on the element type. | |
Clone | Creates a shallow copy of the Array. | |
ConvertAllTInput, TOutput | Converts an array of one type to an array of another type. | |
Copy(Array, Array, Int32) | ||
Copy(Array, Array, Int64) | ||
Copy(Array, Int32, Array, Int32, Int32) | ||
Copy(Array, Int64, Array, Int64, Int64) | ||
CopyTo(Array, Int32) | ||
CopyTo(Array, Int64) | ||
CreateInstance(Type, Int32) | ||
CreateInstance(Type, Int32) | ||
CreateInstance(Type, Int64) | ||
CreateInstance(Type, Int32, Int32) | ||
CreateInstance(Type, Int32, Int32) | ||
CreateInstance(Type, Int32, Int32, Int32) | ||
Equals(Object) | (Inherited from Object.) | |
ExistsT | Determines whether the specified array contains elements that match the conditions defined by the specified predicate. | |
FindT | Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire Array. | |
FindAllT | Retrieves all the elements that match the conditions defined by the specified predicate. | |
FindIndexT(T, PredicateT) | Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire Array. | |
FindIndexT(T, Int32, PredicateT) | Searches for an element that matches the conditions defined by the specified 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. | |
FindIndexT(T, Int32, Int32, PredicateT) | Searches for an element that matches the conditions defined by the specified 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. | |
FindLastT | Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire Array. | |
FindLastIndexT(T, PredicateT) | Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire Array. | |
FindLastIndexT(T, Int32, PredicateT) | Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the Array that extends from the first element to the specified index. | |
FindLastIndexT(T, Int32, Int32, PredicateT) | Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the Array that contains the specified number of elements and ends at the specified index. | |
ForEachT | Performs the specified action on each element of the specified array. | |
GetEnumerator | Returns an IEnumerator for the Array. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue(Int32) | Gets the value at the specified position in the one-dimensional Array. The index is specified as a 32-bit integer. | |
GetValue(Int32) | Gets the value at the specified position in the multidimensional Array. The indexes are specified as an array of 32-bit integers. | |
GetValue(Int64) | Gets the value at the specified position in the one-dimensional Array. The index is specified as a 64-bit integer. | |
GetValue(Int64) | Gets the value at the specified position in the multidimensional Array. The indexes are specified as an array of 64-bit integers. | |
GetValue(Int32, Int32) | Gets the value at the specified position in the two-dimensional Array. The indexes are specified as 32-bit integers. | |
GetValue(Int64, Int64) | Gets the value at the specified position in the two-dimensional Array. The indexes are specified as 64-bit integers. | |
GetValue(Int32, Int32, Int32) | Gets the value at the specified position in the three-dimensional Array. The indexes are specified as 32-bit integers. | |
GetValue(Int64, Int64, Int64) | Gets the value at the specified position in the three-dimensional Array. The indexes are specified as 64-bit integers. | |
IndexOf(Array, Object) | Searches for the specified object and returns the index of the first occurrence within the entire one-dimensional Array. | |
IndexOf(Array, Object, Int32) | Searches for the specified object and returns the index of the first occurrence within the range of elements in the one-dimensional Array that extends from the specified index to the last element. | |
IndexOf(Array, Object, Int32, Int32) | Searches for the specified object and returns the index of the first occurrence within the range of elements in the one-dimensional Array that starts at the specified index and contains the specified number of elements. | |
IndexOfT(T, T) | Searches for the specified object and returns the index of the first occurrence within the entire Array. | |
IndexOfT(T, T, Int32) | Searches for the specified object and returns the index of the first occurrence within the range of elements in the Array that extends from the specified index to the last element. | |
IndexOfT(T, T, Int32, Int32) | Searches for the specified object and returns the 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. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ResizeT | Changes the number of elements of an array to the specified new size. | |
SetValue(Object, Int32) | Sets a value to the element at the specified position in the one-dimensional Array. The index is specified as a 32-bit integer. | |
SetValue(Object, Int32) | Sets a value to the element at the specified position in the multidimensional Array. The indexes are specified as an array of 32-bit integers. | |
SetValue(Object, Int64) | Sets a value to the element at the specified position in the one-dimensional Array. The index is specified as a 64-bit integer. | |
SetValue(Object, Int64) | Sets a value to the element at the specified position in the multidimensional Array. The indexes are specified as an array of 64-bit integers. | |
SetValue(Object, Int32, Int32) | Sets a value to the element at the specified position in the two-dimensional Array. The indexes are specified as 32-bit integers. | |
SetValue(Object, Int64, Int64) | Sets a value to the element at the specified position in the two-dimensional Array. The indexes are specified as 64-bit integers. | |
SetValue(Object, Int32, Int32, Int32) | Sets a value to the element at the specified position in the three-dimensional Array. The indexes are specified as 32-bit integers. | |
SetValue(Object, Int64, Int64, Int64) | Sets a value to the element at the specified position in the three-dimensional Array. The indexes are specified as 64-bit integers. | |
Sort(Array) | ||
Sort(Array, Array) | ||
Sort(Array, IComparer) | Sorts the elements in a one-dimensional Array using the specified IComparer. | |
Sort(Array, Array, IComparer) | ||
Sort(Array, Int32, Int32) | ||
Sort(Array, Array, Int32, Int32) | ||
Sort(Array, Int32, Int32, IComparer) | Sorts the elements in a range of elements in a one-dimensional Array using the specified IComparer. | |
Sort(Array, Array, Int32, Int32, IComparer) | ||
SortT(T) | ||
SortT(T, IComparerT) | Sorts the elements in an Array using the specified IComparerT generic interface. | |
SortT(T, ComparisonT) | Sorts the elements in an Array using the specified ComparisonT. | |
SortT(T, Int32, Int32) | ||
SortT(T, Int32, Int32, IComparerT) | Sorts the elements in a range of elements in an Array using the specified IComparerT generic interface. | |
SortTKey, TValue(TKey, TValue) | ||
SortTKey, TValue(TKey, TValue, IComparerTKey) | ||
SortTKey, TValue(TKey, TValue, Int32, Int32) | ||
SortTKey, TValue(TKey, TValue, Int32, Int32, IComparerTKey) | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TrueForAllT | Determines whether every element in the array matches the conditions defined by the specified predicate. |