Lucene.Net.RandomHelpers.nextLong C# (CSharp) Метод

nextLong() публичный статический Метод

public static nextLong ( this random ) : long
random this
Результат long
        public static long nextLong(this Random random)
        {
            byte[] buffer = new byte[8];
            random.NextBytes(buffer);
            return BitConverter.ToInt64(buffer, 0);
        }