toString

Summary

Returns a string representation of the character.

Usage

public override string toString()

Returns

A string representation of the character value.

Description

Returns a string representation of the character by converting the character value to a string.

Examples

Converting character to string
1
2
char a = `a`;
a.toString(); // "a"

Share

HTML | BBCode | Direct Link