开发者

Get hex values between a range in c#

开发者 https://www.devze.com 2023-01-24 19:20 出处:网络
Please assist.How do i get the list of hex addresses between a specific range. 0x000000 > 0x0001B3 Nee开发者_如何学Cd to do something like

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

精彩评论

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

关注公众号