Click or drag to resize
Accord.NET (logo)

DebugAssert Method

Throws an exception if a condition is false.

Namespace:  Accord.Diagnostics
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
[ConditionalAttribute("DEBUG")]
public static void Assert(
	bool condition,
	string message = "Internal framework error."
)
Request Example View Source

Parameters

condition
Type: SystemBoolean
message (Optional)
Type: SystemString
See Also