ToString overrides
This commit is contained in:
@ -19,4 +19,9 @@ public abstract class RandomIntegerRange
|
||||
{
|
||||
return Random.Shared.Next(this.Min, this.Max);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"Min: {Min} Max: {Max}";
|
||||
}
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
namespace CShocker.Ranges;
|
||||
|
||||
public struct Range
|
||||
{
|
||||
public short Min, Max;
|
||||
|
||||
public Range(short min, short max)
|
||||
{
|
||||
Min = min;
|
||||
Max = max;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user