RandomExtensionsNextNumericTNumeric(Random, TNumeric, TNumeric, Generation) Method

Definition

Namespace: Jodosoft.Numerics
Assembly: Jodosoft.Numerics (in Jodosoft.Numerics.dll) Version: 2.0
public static TNumeric NextNumeric<TNumeric>(
	this Random random,
	TNumeric minValue,
	TNumeric maxValue,
	Generation mode
)
where TNumeric : struct, new(), INumeric<TNumeric>

Parameters

random  Random
 
minValue  TNumeric
 
maxValue  TNumeric
 
mode  Generation
 

Type Parameters

TNumeric

Return Value

TNumeric

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Random. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also