long class : Hex() method
Description
Gets a string that represents the hexadecimal value.
Syntax
longInstance.Hex()
Arguments
None
Return value
Class | Description |
string | A string that represents the hexadecimal value. |
Sample code
//anyLong is a instance of long type.
string hexadecimal = anyLong.Hex();
Notes
It's a wrapper of the Microsoft.VisualBasic.Conversion.Hex(Int64).