Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ BinarySearch< T >() [4/4]

static int System.Array.BinarySearch< T > ( T[] array,
T value,
IComparer< T >? comparer )
inlinestatic

Definition at line 1502 of file Array.cs.

1503 {
1504 if (array == null)
1505 {
1506 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.array);
1507 }
1508 return BinarySearch(array, 0, array.Length, value, comparer);
1509 }
static int BinarySearch(Array array, object? value)
Definition Array.cs:1320

References System.array, System.Array.BinarySearch(), System.comparer, System.ThrowHelper.ThrowArgumentNullException(), and System.value.