Table of Contents

Class RangeInt

Namespace
RisingV.Shared
Assembly
RisingV.Shared.dll

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

min int
max int

Properties

Max

public int Max { get; set; }

Property Value

int

Min

public int Min { get; set; }

Property Value

int

Methods

SelectRandom()

Selects a random integer within the range defined by Min and Max.

public int SelectRandom()

Returns

int

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.