0 votes
in C Sharp by
What does assert() do?

1 Answer

0 votes
by

In debug compilation, assert takes in a Boolean condition as a parameter, and shows the error dialog if the condition is false. The program proceeds without any interruption if the condition is true.

...