NullableTypes Class Library

NullableString.Chars Property

Gets the character at a specified character position in this instance. In C#, this property is the indexer for the NullableString class.

[Visual Basic]
Public Default ReadOnly Property Chars( _
   ByVal index As Integer _
) As Char
public char this[
   int index
] {get;}


A character position in this instance.

Property Value

A Unicode character.


Exception TypeCondition
IndexOutOfRangeException is greater than or equal to the length of this object or less than zero.
NullableNullValueException This instance is set to Null.

See Also

NullableString Class | NullableTypes Namespace