Gets or sets the character at a specified position in the current
instance.
Syntax
This is the default property for this class.
public
char this [
int index] { get; set; }
Parameters
- index
- Documentation for this section has not yet been entered.
Value
A char containing the Unicode character at location index in the current instance.
Exceptions
Type | Reason |
---|
IndexOutOfRangeException |
index is greater than or equal to the length of the current instance.
-or-
index is less than zero.
|
Remarks
Requirements
Namespace: System.Text
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0