int class : Hex() method
Description
Gets a string that represents the hexadecimal value.
Syntax
intInstance.Hex()
Arguments
None
Return value
Class | Description |
string | A 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).