S
Starbuck
Hi
In VB6 we used the following to create a unique random number -
Function longSerial() As Long
longSerial = Val((Format$(Int(Rnd * 424) - 212)) + Format$((Timer * 100),
"0000000"))
longSerial = longSerial Xor Int(2147483647 * Rnd)
End Function
Seem to be unable to do similar in c#, can anyone assist
Thanks
In VB6 we used the following to create a unique random number -
Function longSerial() As Long
longSerial = Val((Format$(Int(Rnd * 424) - 212)) + Format$((Timer * 100),
"0000000"))
longSerial = longSerial Xor Int(2147483647 * Rnd)
End Function
Seem to be unable to do similar in c#, can anyone assist
Thanks