int class : Hex() method

Description

Gets a string that represents the hexadecimal value.

Syntax

intInstance.Hex()

Arguments

None

Return value

ClassDescription
stringA string that represents the hexadecimal value.

Sample code

//anyInt is a instance of int type.

string hexadecimal = anyInt.Hex();

Notes

It's a wrapper of the Microsoft.VisualBasic.Conversion.Hex(Int32).

Links for reference

Copyright © Rice All rights reserved.