Get hex values between a range in c#
Please assist. How do i get the list of hex addresses between a specific range.
0x000000 > 0x0001B3
Nee开发者_如何学Cd to do something like
for(int i=0;i< 10;i++)
{
//do stuff here
}
Thanks in advance
for (int i = 0x0; i <= 0x1b3; i++) {
// Do stuff with i
// Converts the integer to hex, if that's what you wanted.
string str = i.ToString("X");
}
精彩评论