Hybrid wroteI can think of many methods,
How about something like
long ID = (long) ( rnd.NextDouble() * ( 10000000000000 -1 ) );
Thanks for the reply! Actually I fixed it myself using:
long ID = (Int64)rnd.Next(1, 1000000) * (Int64)rnd.Next(1, 999);
May try your code later! Thanks.