开发者

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");
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜