Java.Lang.String.ValueOf Method
Returns a new string containing the same chars as the given array.

Syntax

[Android.Runtime.Register("valueOf", "([C)Ljava/lang/String;", "")]
public static string ValueOf (char[] data)

Parameters

data
the array of characters.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.NullPointerExceptionif data is null.

Remarks

Returns a new string containing the same chars as the given array. Modifying the array after creating the string has no effect on the string.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1