Fail tests instead of crash on Debug.Assert failures
The Debug.Assert(bool) method is a very old API that allows your program to test your assumptions at runtime, but in a way that only impacts performance of debug builds. The…
Read up on .NET news, tips, cautions... and other areas of technological interest.
The Debug.Assert(bool) method is a very old API that allows your program to test your assumptions at runtime, but in a way that only impacts performance of debug builds. The…