Skip to content

M_CodeJam_DebugCode_ValidCount_1

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

DebugCode.ValidCount Method (Int32, String, Int32)

Asserts if the passed value is not a valid count.

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

Syntax

C#

[ConditionalAttribute("DEBUG")]
public static void ValidCount(
	int count,
	string argName,
	int length
)

VB

<ConditionalAttribute("DEBUG")>
Public Shared Sub ValidCount ( 
	count As Integer,
	argName As String,
	length As Integer
)

F#

[<ConditionalAttribute("DEBUG")>]
static member ValidCount : 
        count : int * 
        argName : string * 
        length : int -> unit 

Parameters

 

count
Type: System.Int32
The count value.
argName
Type: System.String
The name of the argument.
length
Type: System.Int32
The length.

See Also

Reference

DebugCode Class
ValidCount Overload
CodeJam Namespace

Clone this wiki locally