ClassSystem.Diagnostics.Debug SyntaxDebug.Assert(booleanExpression[, string1[, string2]])
DescriptionThe Assert method outputs messages to the debug listeners if a condition fails. Usage at a Glance
Version DifferencesThe .NET Assert method is similar to the VB 6 method of the same name, except that the .NET version displays a message if an expression is False, while the VB 6 version suspends program execution. See AlsoDebug Class |