What does the assert() method do in debug compilation ?

 Posted by Chvrsri on 3/23/2011 | Category: C# Interview questions | Views: 4035 | Points: 40

In this debug compilation ,

. The assert() method takes in a Boolean condition as a parameter.

. It shows an error if that condition is false

. The program runs without any intervention if the condition obtained is true.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response