Skip to content

M_CodeJam_DebugCode_ValidIndexAndCount

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

DebugCode.ValidIndexAndCount Method

Assertion for startIndex-count pair

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

Syntax

C#

[ConditionalAttribute("DEBUG")]
public static void ValidIndexAndCount(
	int startIndex,
	string startIndexName,
	int count,
	string countName,
	int length
)

VB

<ConditionalAttribute("DEBUG")>
Public Shared Sub ValidIndexAndCount ( 
	startIndex As Integer,
	startIndexName As String,
	count As Integer,
	countName As String,
	length As Integer
)

F#

[<ConditionalAttribute("DEBUG")>]
static member ValidIndexAndCount : 
        startIndex : int * 
        startIndexName : string * 
        count : int * 
        countName : string * 
        length : int -> unit 

Parameters

 

startIndex
Type: System.Int32
The start index.
startIndexName
Type: System.String
Start name of the index.
count
Type: System.Int32
The count.
countName
Type: System.String
Name of the count.
length
Type: System.Int32
The length.

See Also

Reference

DebugCode Class
CodeJam Namespace

Clone this wiki locally