Methods
-
As
Read static Returns a read-only wrapper for the specified array.Only``1(``0[]) -
Binary
Search(Array, static 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.Int32, Int32, Object) -
Binary
Search(Array, static Searches a range of elements in a one-dimensional sorted array for a value, using the specified IComparer interface.Int32, Int32, Object, IComparer) -
Binary
Search(Array, static Searches an entire one-dimensional sorted array for a specific element, using the IComparable interface implemented by each element of the array and by the specified object.Object) -
Binary
Search(Array, static Searches an entire one-dimensional sorted array for a value using the specified IComparer interface.Object, IComparer) -
Binary
Search``1(``0[], static Searches a range of elements in a one-dimensional sorted array for a value, using the IComparable`1 generic interface implemented by each element of the Array and by the specified value.Int32, Int32, ``0) -
Binary
Search``1(``0[], static Searches a range of elements in a one-dimensional sorted array for a value, using the specified IComparer`1 generic interface.Int32, Int32, ``0, IComparer<``0>) -
Binary
Search``1(``0[], static Searches an entire one-dimensional sorted array for a specific element, using the IComparable`1 generic interface implemented by each element of the Array and by the specified object.``0) -
Binary
Search``1(``0[], static Searches an entire one-dimensional sorted array for a value using the specified IComparer`1 generic interface.``0, IComparer<``0>) -
Clear(Array,
Int32, static Sets a range of elements in an array to the default value of each element type.Int32) - Clone() sealed Creates a shallow copy of the Array.
-
Constrained
Copy(Array, static Copies a range of elements from an Array starting at the specified source index and pastes them to another Array starting at the specified destination index. Guarantees that all changes are undone if the copy does not succeed completely.Int32, Array, Int32, Int32) -
Convert
All``2(``0[], static Converts an array of one type to an array of another type.Converter<``0, ``1>) -
Copy(Array,
Array, static Copies a range of elements from an Array starting at the first element and pastes them into another Array starting at the first element. The length is specified as a 32-bit integer.Int32) -
Copy(Array,
Array, static Copies a range of elements from an Array starting at the first element and pastes them into another Array starting at the first element. The length is specified as a 64-bit integer.Int64) -
Copy(Array,
Int32, static Copies a range of elements from an Array starting at the specified source index and pastes them to another Array starting at the specified destination index. The length and the indexes are specified as 32-bit integers.Array, Int32, Int32) -
Copy(Array,
Int64, static Copies a range of elements from an Array starting at the specified source index and pastes them to another Array starting at the specified destination index. The length and the indexes are specified as 64-bit integers.Array, Int64, Int64) -
Copy
To(Array, sealed Copies all the elements of the current one-dimensional array to the specified one-dimensional array starting at the specified destination array index. The index is specified as a 32-bit integer.Int32) -
Copy
To(Array, Copies all the elements of the current one-dimensional array to the specified one-dimensional array starting at the specified destination array index. The index is specified as a 64-bit integer.Int64) -
Create
Instance(Type, static Creates a one-dimensional Array of the specified Type and length, with zero-based indexing.Int32) -
Create
Instance(Type, static Creates a two-dimensional Array of the specified Type and dimension lengths, with zero-based indexing.Int32, Int32) -
Create
Instance(Type, static Creates a three-dimensional Array of the specified Type and dimension lengths, with zero-based indexing.Int32, Int32, Int32) -
Create
Instance(Type, static Creates a multidimensional Array of the specified Type and dimension lengths, with zero-based indexing. The dimension lengths are specified in an array of 32-bit integers.Int32[]) -
Create
Instance(Type, static Creates a multidimensional Array of the specified Type and dimension lengths, with the specified lower bounds.Int32[], Int32[]) -
Create
Instance(Type, static Creates a multidimensional Array of the specified Type and dimension lengths, with zero-based indexing. The dimension lengths are specified in an array of 64-bit integers.Int64[]) - Empty``1() static Returns an empty array.
-
Exists``1(``0[],
Predicate<``0>) static Determines whether the specified array contains elements that match the conditions defined by the specified predicate. -
Fill``1(``0[],
``0) static -
Fill``1(``0[],
``0, staticInt32, Int32) -
Find``1(``0[],
Predicate<``0>) static Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire Array. -
Find
All``1(``0[], static Retrieves all the elements that match the conditions defined by the specified predicate.Predicate<``0>) -
Find
Index``1(``0[], static 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.Int32, Int32, Predicate<``0>) -
Find
Index``1(``0[], static 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.Int32, Predicate<``0>) -
Find
Index``1(``0[], static 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.Predicate<``0>) -
Find
Last``1(``0[], static Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire Array.Predicate<``0>) -
Find
Last static 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.Index``1(``0[], Int32, Int32, Predicate<``0>) -
Find
Last static 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.Index``1(``0[], Int32, Predicate<``0>) -
Find
Last static 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.Index``1(``0[], Predicate<``0>) -
For
Each``1(``0[], static Performs the specified action on each element of the specified array.Action<``0>) -
Get
Enumerator() sealed Returns an IEnumerator for the Array. -
Get
Length(Int32) Gets a 32-bit integer that represents the number of elements in the specified dimension of the Array. -
Get
Long Gets a 64-bit integer that represents the number of elements in the specified dimension of the Array.Length(Int32) -
Get
Lower Gets the index of the first element of the specified dimension in the array.Bound(Int32) -
Get
Upper Gets the index of the last element of the specified dimension in the array.Bound(Int32) -
Get
Value(Int32) Gets the value at the specified position in the one-dimensional Array. The index is specified as a 32-bit integer. -
Get
Value(Int32, Gets the value at the specified position in the two-dimensional Array. The indexes are specified as 32-bit integers.Int32) -
Get
Value(Int32, Gets the value at the specified position in the three-dimensional Array. The indexes are specified as 32-bit integers.Int32, Int32) -
Get
Value(Int32[]) Gets the value at the specified position in the multidimensional Array. The indexes are specified as an array of 32-bit integers. -
Get
Value(Int64) Gets the value at the specified position in the one-dimensional Array. The index is specified as a 64-bit integer. -
Get
Value(Int64, Gets the value at the specified position in the two-dimensional Array. The indexes are specified as 64-bit integers.Int64) -
Get
Value(Int64, Gets the value at the specified position in the three-dimensional Array. The indexes are specified as 64-bit integers.Int64, Int64) -
Get
Value(Int64[]) Gets the value at the specified position in the multidimensional Array. The indexes are specified as an array of 64-bit integers. -
Index
Of(Array, static Searches for the specified object and returns the index of its first occurrence in a one-dimensional array.Object) -
Index
Of(Array, static Searches for the specified object in a range of elements of a one-dimensional array, and returns the index of its first occurrence. The range extends from a specified index to the end of the array.Object, Int32) -
Index
Of(Array, static Searches for the specified object in a range of elements of a one-dimensional array, and returns the index of ifs first occurrence. The range extends from a specified index for a specified number of elements.Object, Int32, Int32) -
Index
Of``1(``0[], static Searches for the specified object and returns the index of its first occurrence in a one-dimensional array.``0) -
Index
Of``1(``0[], static Searches for the specified object in a range of elements of a one dimensional array, and returns the index of its first occurrence. The range extends from a specified index to the end of the array.``0, Int32) -
Index
Of``1(``0[], static Searches for the specified object in a range of elements of a one-dimensional array, and returns the index of its first occurrence. The range extends from a specified index for a specified number of elements.``0, Int32, Int32) - Initialize() Initializes every element of the value-type Array by calling the parameterless constructor of the value type.
-
Last
Index static Searches for the specified object and returns the index of the last occurrence within the entire one-dimensional Array.Of(Array, Object) -
Last
Index static Searches for the specified object and returns the index of the last occurrence within the range of elements in the one-dimensional Array that extends from the first element to the specified index.Of(Array, Object, Int32) -
Last
Index static Searches for the specified object and returns the index of the last occurrence within the range of elements in the one-dimensional Array that contains the specified number of elements and ends at the specified index.Of(Array, Object, Int32, Int32) -
Last
Index static Searches for the specified object and returns the index of the last occurrence within the entire Array.Of``1(``0[], ``0) -
Last
Index static Searches for the specified object and returns the index of the last occurrence within the range of elements in the Array that extends from the first element to the specified index.Of``1(``0[], ``0, Int32) -
Last
Index static Searches for the specified object and returns the 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.Of``1(``0[], ``0, Int32, Int32) -
Resize``1(``0[]&,
Int32) static Changes the number of elements of a one-dimensional array to the specified new size. - Reverse(Array) static Reverses the sequence of the elements in the entire one-dimensional Array.
-
Reverse(Array,
Int32, static Reverses the sequence of the elements in a range of elements in the one-dimensional Array.Int32) - Reverse``1(``0[]) static
-
Reverse``1(``0[],
Int32, staticInt32) -
Set
Value(Object, Sets a value to the element at the specified position in the one-dimensional Array. The index is specified as a 32-bit integer.Int32) -
Set
Value(Object, Sets a value to the element at the specified position in the two-dimensional Array. The indexes are specified as 32-bit integers.Int32, Int32) -
Set
Value(Object, Sets a value to the element at the specified position in the three-dimensional Array. The indexes are specified as 32-bit integers.Int32, Int32, Int32) -
Set
Value(Object, 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.Int32[]) -
Set
Value(Object, Sets a value to the element at the specified position in the one-dimensional Array. The index is specified as a 64-bit integer.Int64) -
Set
Value(Object, Sets a value to the element at the specified position in the two-dimensional Array. The indexes are specified as 64-bit integers.Int64, Int64) -
Set
Value(Object, Sets a value to the element at the specified position in the three-dimensional Array. The indexes are specified as 64-bit integers.Int64, Int64, Int64) -
Set
Value(Object, 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.Int64[]) - Sort(Array) static Sorts the elements in an entire one-dimensional Array using the IComparable implementation of each element of the Array.
-
Sort(Array,
Array) static Sorts a pair of one-dimensional Array objects (one contains the keys and the other contains the corresponding items) based on the keys in the first Array using the IComparable implementation of each key. -
Sort(Array,
Array, static Sorts a pair of one-dimensional Array objects (one contains the keys and the other contains the corresponding items) based on the keys in the first Array using the specified IComparer.IComparer) -
Sort(Array,
Array, static Sorts a range of elements in a pair of one-dimensional Array objects (one contains the keys and the other contains the corresponding items) based on the keys in the first Array using the IComparable implementation of each key.Int32, Int32) -
Sort(Array,
Array, static Sorts a range of elements in a pair of one-dimensional Array objects (one contains the keys and the other contains the corresponding items) based on the keys in the first Array using the specified IComparer.Int32, Int32, IComparer) -
Sort(Array,
IComparer) static Sorts the elements in a one-dimensional Array using the specified IComparer. -
Sort(Array,
Int32, static Sorts the elements in a range of elements in a one-dimensional Array using the IComparable implementation of each element of the Array.Int32) -
Sort(Array,
Int32, static Sorts the elements in a range of elements in a one-dimensional Array using the specified IComparer.Int32, IComparer) - Sort``1(``0[]) static Sorts the elements in an entire Array using the IComparable`1 generic interface implementation of each element of the Array.
-
Sort``1(``0[],
Comparison<``0>) static Sorts the elements in an Array using the specified Comparison`1. -
Sort``1(``0[],
IComparer<``0>) static Sorts the elements in an Array using the specified IComparer`1 generic interface. -
Sort``1(``0[],
Int32, static Sorts the elements in a range of elements in an Array using the IComparable`1 generic interface implementation of each element of the Array.Int32) -
Sort``1(``0[],
Int32, static Sorts the elements in a range of elements in an Array using the specified IComparer`1 generic interface.Int32, IComparer<``0>) -
Sort``2(``0[],
``1[]) static Sorts a pair of Array objects (one contains the keys and the other contains the corresponding items) based on the keys in the first Array using the IComparable`1 generic interface implementation of each key. -
Sort``2(``0[],
``1[], static Sorts a pair of Array objects (one contains the keys and the other contains the corresponding items) based on the keys in the first Array using the specified IComparer`1 generic interface.IComparer<``0>) -
Sort``2(``0[],
``1[], static Sorts a range of elements in a pair of Array objects (one contains the keys and the other contains the corresponding items) based on the keys in the first Array using the IComparable`1 generic interface implementation of each key.Int32, Int32) -
Sort``2(``0[],
``1[], static Sorts a range of elements in a pair of Array objects (one contains the keys and the other contains the corresponding items) based on the keys in the first Array using the specified IComparer`1 generic interface.Int32, Int32, IComparer<``0>) -
True
For static Determines whether every element in the array matches the conditions defined by the specified predicate.All``1(``0[], Predicate<``0>)
Properties
-
Is
Fixed sealed Gets a value indicating whether the Array has a fixed size.Size -
Is
Read sealed Gets a value indicating whether the Array is read-only.Only -
Is
Synchronized sealed Gets a value indicating whether access to the Array is synchronized (thread safe). - Length Gets the total number of elements in all the dimensions of the Array.
-
Long
Length Gets a 64-bit integer that represents the total number of elements in all the dimensions of the Array. - Rank Gets the rank (number of dimensions) of the Array. For example, a one-dimensional array returns 1, a two-dimensional array returns 2, and so on.
-
Sync
Root sealed Gets an object that can be used to synchronize access to the Array. -
System.
Collections. privatesealed Gets the number of elements contained in the Array.ICollection. Count -
System.
Collections. privatesealedIList. Item