Class RandomInts
Utility class for random integer and integer sequences.
Inheritance
System.Object
    RandomInts
  Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: Lucene.Net.Randomized.Generators
Assembly: Lucene.Net.TestFramework.dll
Syntax
public static class RandomInts
  Methods
| Improve this Doc View SourceRandomInt32Between(Random, Int32, Int32)
A random integer from min to max (inclusive).
Declaration
public static int RandomInt32Between(Random random, int min, int max)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Random | random | |
| System.Int32 | min | |
| System.Int32 | max | 
Returns
| Type | Description | 
|---|---|
| System.Int32 |