What does assert() do?



What does assert() do?..

Answer / abhi

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 ?    4 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Can we change static value in c#?

0 Answers  


Which constructor is called first in c#?

0 Answers  


What is the difference between Abstract and Interface?

22 Answers   Agile Software, FER, HCL, Sys Universe,


What is a console?

0 Answers  


What is difference between array and collection?

0 Answers  






What is arraylist c#?

0 Answers  


Can bool be null c#?

0 Answers  


Can you store strings in arrays?

0 Answers  


How do you comment out code in c#?

0 Answers  


What happens when thread sleep () method is called?

0 Answers  


What is a view? What is the use of it?

0 Answers   Accenture,


What are the Types of JIT and what is econo-JIT

0 Answers   TCS,


Categories