What does assert() do?



What does assert() do?..

Answer / guest

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.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More C Sharp Interview Questions

Is datetime immutable c#?

0 Answers  


Which programming language is best for desktop applications?

0 Answers  


Hai, I want to open a new form while the previous form is hiding or closing. I tried this with using MDI.I created one form like ParentForm.placed one button control.when clicked one that it opend new form like ChildForm.When i set the property of ChildForm to Maximize,but the ParentForm button control also appearing on the childform. so plz help me how to hide parentform controls(hide parentform while it is childform opened) thanq..

1 Answers  


Why do we need static in c#?

0 Answers  


Is xamarin free?

0 Answers  


What is using in c#?

0 Answers  


What is disconnected data architecture in c#?

0 Answers  


Will finally block get executed if the 1exception had not occurred?

3 Answers  


What is the difference between disposing of () and finalize() methods in c#?

0 Answers  


If I want to override a method one of class A and in class b then how do you declare?

0 Answers  


Why do we use static methods in c#?

0 Answers  


Describe the overview of clr integration.

0 Answers  


Categories