Click here to Skip to main content
15,886,422 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hello everyone,
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

Regards,
Ravi
Posted
Comments
Sergey Alexandrovich Kryukov 8-May-11 1:45am    
What do you think "hexadecimal number" is?
--SA

1 solution

 
Share this answer
 
Comments
Ravi Sharma 2 10-May-11 1:59am    
Thanks alot this link help me.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900