Method Assert
Assert(bool)
Checks for the condition. If the condition is false throws an exception.
[Conditional("DEBUG")]
public static void Assert(bool condition)
Parameters
condition
boolCondition to check.
Checks for the condition. If the condition is false throws an exception.
[Conditional("DEBUG")]
public static void Assert(bool condition)
condition
boolCondition to check.