EncoderFallbackException.Index Property

Definition

Gets the index position in the input buffer of the character that caused the exception.

public int Index { get; }
Property Value

The index position in the input buffer of the character that cannot be encoded.

Remarks

The index is zero-based.