C# (Sharp) Programming Language Question:
Download Job Interview Questions and Answers PDF
What does assert() method do?
Answer:
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.
Download C# (Sharp) Programming Language Interview Questions And Answers
PDF
Previous Question | Next Question |
What debugging tools come with the .NET SDK? | What is the difference between the Debug class and Trace class? |