Is there a .NET Equiv for VB6 Debug.Assert?
In VB6 if the code came to Debug.Assert False the IDE would come to a halt right there if the code was running in the IDE, but this statement in the compiled code had no affect. Is there no replacement for this in .NET?
There are breakpoints of course, but Debug.Assert was really handy, esp[u]ec</u>ially because you could produce conditional breakpoints (as it were).
|