Z
Zeya
I need to randomly generate a 16 digit hex number in C# code.
How can I do this?
Thanks.
How can I do this?
Thanks.
Pohihihi said:and how this Int32.ToString("X") works??
you can not get HEX this way.
Jon said:Random random = new Random();
string hex = random.Next().ToString("X8")+
random.Next().ToString("X8");
Pohihihi said:what happends when you are on 64 bit machine?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.