Skip to content

M_CodeJam_DebugCode_InRange_1

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

DebugCode.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#

[ConditionalAttribute("DEBUG")]
public static void InRange(
	int value,
	string argName,
	int fromValue,
	int toValue
)

VB

<ConditionalAttribute("DEBUG")>
Public Shared Sub InRange ( 
	value As Integer,
	argName As String,
	fromValue As Integer,
	toValue As Integer
)

F#

[<ConditionalAttribute("DEBUG")>]
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

DebugCode Class
InRange Overload
CodeJam Namespace

Clone this wiki locally