Name | Description | |
---|---|---|
dvr |
The following tables list the members exposed by NArrayHelpers<T>.
Name | Description | |
---|---|---|
CastAll | Overloaded. Casts all items from the specified array to the specified type | |
Clone | Makes a new shallow clone array of the specified source array. | |
Copy | Overloaded. | |
FirstItems | Gets the first count items from the specified array. If array.Length is smaller than count, an array with array.Length size is returned. | |
GetHashCode | Overloaded. Gets a hash code for the specified array | |
IsNullOrEmpty | ||
LastItems | Gets the last count items from the specified array. If array.Length is smaller than count, an array with array.Length size is returned. | |
RemoveNulls | Remvoes the nulls from the specified array and returns a new array that contains only non-null values | |
SafeArrayEquals | Safe array equals check | |
Shuffle | Overloaded. Randomly repositions the elements in the given array using the Fisher-Yates algorithm AKA the Knuth Shuffle. It runs in O(n) time and shuffles in place, so it's better performing than the "sort by random" technique. | |
ToArray | Gets all the elements of the specified iterable object and converts it into an array |