Class RangeInt
Represents a range of integers with a minimum and maximum value.
public class RangeInt
- Inheritance
-
RangeInt
- Inherited Members
- Extension Methods
Constructors
RangeInt()
public RangeInt()
RangeInt(int)
public RangeInt(int max)
Parameters
max
int
RangeInt(int, int)
public RangeInt(int min, int max)
Parameters
Properties
Max
public int Max { get; set; }
Property Value
Min
public int Min { get; set; }
Property Value
Methods
SelectRandom()
Selects a random integer within the range defined by Min and Max.
public int SelectRandom()
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.