What does assert() method do?

 Posted by Neeks on 2/21/2009 | Category: C# Interview questions | Views: 6666
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.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response