Skip to content

M_CodeJam_Code_InRange_1

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

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

Assertion for the argument in range

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

Syntax

C#

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

VB

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

F#

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

Parameters

 

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

See Also

Reference

Code Class
InRange Overload
CodeJam Namespace

Clone this wiki locally