Returns the index of the last occurrence of any element of a specified array of characters in the current instance.
[Edit]
public int LastIndexOfAny (char[] anyOf, int startIndex) |
|
Parameters
- anyOf
- An array of Unicode characters.
[Edit]
- startIndex
- A int containing the index of the current instance from which to start searching.
[Edit]
Returns
A int containing the index of the last occurrence of any element of anyOf in the
current instance, if found; otherwise, -1.
[Edit]
Exceptions
Remarks
Requirements
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0