Character(Char) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constructs a newly allocated Character
object that
represents the specified char
value.
[Android.Runtime.Register(".ctor", "(C)V", "")]
public Character (char value);
[<Android.Runtime.Register(".ctor", "(C)V", "")>]
new Java.Lang.Character : char -> Java.Lang.Character
Parameters
- value
- Char
the value to be represented by the
Character
object.
- Attributes
Remarks
Constructs a newly allocated Character
object that represents the specified char
value.
This member is deprecated. It is rarely appropriate to use this constructor. The static factory #valueOf(char)
is generally a better choice, as it is likely to yield significantly better space and time performance.
Java documentation for java.lang.Character.Character(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.