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
conditionboolCondition 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.