Method BinarySearch
BinarySearch(String[], String)
Declaration
protected static int BinarySearch(String[] a, String key)
Parameters
Type |
Name |
Description |
System.String[] |
a |
|
System.String |
key |
|
Returns
Type |
Description |
System.Int32 |
|
BinarySearch(String[], String, Int32, Int32)
Declaration
protected static int BinarySearch(String[] a, String key, int low, int high)
Parameters
Type |
Name |
Description |
System.String[] |
a |
|
System.String |
key |
|
System.Int32 |
low |
|
System.Int32 |
high |
|
Returns
Type |
Description |
System.Int32 |
|