valueOf

Summary

Returns the primitive character value wrapped by the System.Character object.

Usage

public char valueOf()

Returns

The primitive character value wrapped by the System.Character object.

Description

Returns the primitive character value wrapped by the System.Character object.

Examples

Basic Usage
1
2
3
4
5
6
import System;
 
System.Character a = new System.Character(`a`);
System.Character b = new System.Character(`b`);
Console.log(a.valueOf()); // `a`
Console.log(b.valueOf()); // `b`

Share

HTML | BBCode | Direct Link