Skip to content

M_CodeJam_Code_BugIf_1

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

Code.BugIf Method (Boolean, String, Object[])

Asserts if the given condition is satisfied.

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

Syntax

C#

public static void BugIf(
	bool condition,
	string messageFormat,
	params Object[] args
)

VB

Public Shared Sub BugIf ( 
	condition As Boolean,
	messageFormat As String,
	ParamArray args As Object()
)

F#

static member BugIf : 
        condition : bool * 
        messageFormat : string * 
        args : Object[] -> unit 

Parameters

 

condition
Type: System.Boolean
The condition to check.
messageFormat
Type: System.String
The message format.
args
Type: System.Object[]
The arguments.

See Also

Reference

Code Class
BugIf Overload
CodeJam Namespace

Clone this wiki locally