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

Explain the constructor in c#.

0 Answers  


What do constructors do in c#?

0 Answers  


What is public void in c#?

0 Answers  


What is xaml in c#?

0 Answers  


What is different between Static Constructor and Private Constructor?

0 Answers  






What language is c# similar to?

0 Answers  


What is cli in c#?

0 Answers  


Define a partial class?

0 Answers  


What is part of a method signature in c#?

0 Answers  


What are primitive types in c#?

0 Answers  


What is an interface class? Give one example of it

0 Answers  


What is the difference between array and list in c#?

0 Answers  


Categories