Gets or sets the character at a specified position.
[Visual Basic] Public Default Property Chars( _ ByVal index As Integer _ ) As Char [C#] public char this[ int index ] {get; set;} [C++] public: __property __wchar_t get_Chars(int index); public: __property void set_Chars(int index, __wchar_t); [JScript] returnValue = StringBuilderObject.Chars(index); StringBuilderObject.Chars(index) = returnValue;
Retrieves or replaces the character at position index within the current StringBuilder. Note that the index of the first character is 0.
See String for info about C# syntax issues.
StringBuilder Class | StringBuilder Members | System.Text Namespace | String