Avro.Test.RandomDataHelper.GetRandomBool C# (CSharp) Method

GetRandomBool() public static method

public static GetRandomBool ( ) : bool
return bool
        public static bool GetRandomBool()
        {
            return random.Next() % 2 == 1;
        }