valueOf

Summary

Returns the primitive unsigned short value wrapped by the System.UInteger16 object.

Usage

public unsigned short valueOf()

Returns

The primitive unsigned short value wrapped by the System.UInteger16 object.

Description

Returns the primitive unsigned short value wrapped by the System.UInteger16 object.

Examples

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

Share

HTML | BBCode | Direct Link