Skip to content

M_CodeJam_Code_ValidIndex

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

Code.ValidIndex Method (Int32, String)

Assertion for index in range

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

Syntax

C#

public static void ValidIndex(
	int index,
	string argName
)

VB

Public Shared Sub ValidIndex ( 
	index As Integer,
	argName As String
)

F#

static member ValidIndex : 
        index : int * 
        argName : string -> unit 

Parameters

 

index
Type: System.Int32
The index.
argName
Type: System.String
Name of the argument.

See Also

Reference

Code Class
ValidIndex Overload
CodeJam Namespace

Clone this wiki locally