Skip to content

M_CodeJam_Code_ValidIndexAndCount

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

Code.ValidIndexAndCount Method

Assertion for startIndex-count pair

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

Syntax

C#

public static void ValidIndexAndCount(
	int startIndex,
	string startIndexName,
	int count,
	string countName,
	int length
)

VB

Public Shared Sub ValidIndexAndCount ( 
	startIndex As Integer,
	startIndexName As String,
	count As Integer,
	countName As String,
	length As Integer
)

F#

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

Code Class
CodeJam Namespace

Clone this wiki locally