public static long nextLong(this Random random) { byte[] buffer = new byte[8]; random.NextBytes(buffer); return BitConverter.ToInt64(buffer, 0); }