共用方式為


Character.ToString(Char) Method

Definition

Returns a String object representing the specified char.

[Android.Runtime.Register("toString", "(C)Ljava/lang/String;", "")]
public static string ToString (char c);
[<Android.Runtime.Register("toString", "(C)Ljava/lang/String;", "")>]
static member ToString : char -> string

Parameters

c
Char

the char to be converted

Returns

the string representation of the specified char

Attributes

Remarks

Returns a String object representing the specified char. The result is a string of length 1 consisting solely of the specified char.

Added in 1.4.

Java documentation for java.lang.Character.toString(char).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to