Skip to content

M_CodeJam_DebugCode_ValidIndexPair

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

DebugCode.ValidIndexPair Method

Assertion for from-to index pair

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

Syntax

C#

[ConditionalAttribute("DEBUG")]
public static void ValidIndexPair(
	int fromIndex,
	string fromIndexName,
	int toIndex,
	string toIndexName,
	int length
)

VB

<ConditionalAttribute("DEBUG")>
Public Shared Sub ValidIndexPair ( 
	fromIndex As Integer,
	fromIndexName As String,
	toIndex As Integer,
	toIndexName As String,
	length As Integer
)

F#

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

DebugCode Class
CodeJam Namespace

Clone this wiki locally