ArraySort Method (Array, Array) |
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.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static void Sort(
Array keys,
Array items
)
Parameters
- keys
- Type: SystemArray
The one-dimensional Array that contains the keys to sort. - items
- Type: SystemArray
The one-dimensional Array that contains the items that correspond to each of the keys in the keysArray.-or-null to sort only the keysArray.
Exceptions See Also