valueOf Summary Returns the primitive short value wrapped by the System.Integer16 object. Usage public short valueOf() Returns The primitive short value wrapped by the System.Integer16 object. Description Returns the primitive short value wrapped by the System.Integer16 object. Examples Basic Usage 123456import System; System.Integer16 a = new System.Integer16(1);System.Integer16 b = new System.Integer16(2);Console.log(a.valueOf()); // 1Console.log(b.valueOf()); // 2 Share HTML | BBCode | Direct Link