I have the task to convert integer number to Hexadecimal and store the result into string.
my code is
int i = 4;
now this integer value i want to convert to hexadecimal number and store the result into string s.
In java this possible doing
String s = Integer.toHexString(i).
whats same code alternative in c# for conversion of integer to hex and store into string.
Please solve my this problem