Example #1
0
 internal static int GenerateIntKey()
 {
     return(ThreadSafeRandom.Next(1000000000, int.MaxValue));
 }
Example #2
0
 internal static ushort GenerateUShortKey()
 {
     return((ushort)ThreadSafeRandom.Next(10000, ushort.MaxValue));
 }
Example #3
0
 internal static sbyte GenerateSByteKey()
 {
     return((sbyte)ThreadSafeRandom.Next(100, 127));
 }
Example #4
0
 internal static char GenerateCharKey()
 {
     return((char)ThreadSafeRandom.Next(10000, 60000));
 }
Example #5
0
 internal static byte GenerateByteKey()
 {
     return((byte)ThreadSafeRandom.Next(100, 255));
 }