Android Guides | Samples

Java.Lang.String Constructor

Initializes this string to contain the given chars.

Syntax

[Android.Runtime.Register(".ctor", "([C)V", "")]
public String (Char[] data)

Parameters

data

Exceptions

TypeReason
NullPointerExceptionif data == null

Remarks

Initializes this string to contain the given chars. 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