Edit

Share via


ValueString.Item[Int32] Property

Definition

Gets the character at the specified zero-based index in the string.

public char this[int index] { get; }
member this.Item(int) : char
Default Public ReadOnly Property Item(index As Integer) As Char

Parameters

index
Int32

The zero-based index of the character to access.

Property Value

A character from the string.

Exceptions

index is less than zero or greater than or equal to Length.

Applies to