how do i show full HEX in string, such as 000010, but not just only 10.
i have to show 0000 in front of the 10.
here is my code… thanks =)
bn1 = Convert.ToString(Convert.ToInt32(strm1, 16), 2);
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could do the following after the line of code you provided:
Note that this is a very simple method, just to show the idea.