Lucene.Net.RandomHelpers.nextBoolean C# (CSharp) Method

nextBoolean() public static method

public static nextBoolean ( this random ) : bool
random this
return bool
        public static bool nextBoolean(this Random random)
        {
            return (random.Next(1, 100) > 50);
        }