ArrayExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Helpers for working with the Array type.
public static class ArrayExtensions
type ArrayExtensions = class
Public Module ArrayExtensions
- Inheritance
-
ArrayExtensions
Methods
Count<T>(T[,], T) |
Counts the number of occurrences of a given value into a target 2D |
Count<T>(T[], T) |
Counts the number of occurrences of a given value into a target |
DangerousGetReference<T>(T[,]) |
Returns a reference to the first element within a given 2D |
DangerousGetReference<T>(T[]) |
Returns a reference to the first element within a given |
DangerousGetReferenceAt<T>(T[,], Int32, Int32) |
Returns a reference to an element at a specified coordinate within a given 2D |
DangerousGetReferenceAt<T>(T[], Int32) |
Returns a reference to an element at a specified index within a given |
Enumerate<T>(T[]) |
Enumerates the items in the input
The compiler will take care of properly setting up the |
Fill<T>(T[,], T, Int32, Int32, Int32, Int32) |
Fills an area in a given 2D |
GetColumn<T>(T[,], Int32) |
Returns an enumerable that returns the items from a given column in a given 2D
The compiler will take care of properly setting up the |
GetDjb2HashCode<T>(T[,]) |
Gets a content hash from the input 2D |
GetDjb2HashCode<T>(T[]) |
Gets a content hash from the input |
GetRow<T>(T[,], Int32) |
Returns a Span<T> over a row in a given 2D |
Tokenize<T>(T[], T) |
Tokenizes the values in the input
The compiler will take care of properly setting up the |