Skip to content

M_CodeJam_Code_InRange

Andrew Koryavchenko edited this page Jun 17, 2018 · 8 revisions

Code.InRange Method (Double, String, Double, Double)

Assertion for the argument in range

Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public static void InRange(
	double value,
	string argName,
	double fromValue,
	double toValue
)

VB

Public Shared Sub InRange ( 
	value As Double,
	argName As String,
	fromValue As Double,
	toValue As Double
)

F#

static member InRange : 
        value : float * 
        argName : string * 
        fromValue : float * 
        toValue : float -> unit 

Parameters

 

value
Type: System.Double
The value.
argName
Type: System.String
Name of the argument.
fromValue
Type: System.Double
From value (inclusive).
toValue
Type: System.Double
To value (inclusive).

See Also

Reference

Code Class
InRange Overload
CodeJam Namespace

Clone this wiki locally