Skip to content

M_CodeJam_Code_ValidIndexPair

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

Code.ValidIndexPair Method

Assertion for from-to index pair

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

Syntax

C#

public static void ValidIndexPair(
	int fromIndex,
	string fromIndexName,
	int toIndex,
	string toIndexName,
	int length
)

VB

Public Shared Sub ValidIndexPair ( 
	fromIndex As Integer,
	fromIndexName As String,
	toIndex As Integer,
	toIndexName As String,
	length As Integer
)

F#

static member ValidIndexPair : 
        fromIndex : int * 
        fromIndexName : string * 
        toIndex : int * 
        toIndexName : string * 
        length : int -> unit 

Parameters

 

fromIndex
Type: System.Int32
From index.
fromIndexName
Type: System.String
Name of from index.
toIndex
Type: System.Int32
To index.
toIndexName
Type: System.String
Name of to index.
length
Type: System.Int32
The length.

See Also

Reference

Code Class
CodeJam Namespace

Clone this wiki locally