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 array reference type in c#?

0 Answers  


What is Lambda Expression?

1 Answers  


What is a console device?

0 Answers  


Can firstordefault return null?

0 Answers  


what is the main differnce between const,readonly and static

3 Answers   Beehive Systems, CDAC,






Define mutex in C#?

0 Answers  


How will you get the different language strings?

0 Answers  


What are the types of attributes in c#?

0 Answers  


What are the properties in c#?

0 Answers  


Can you describe iuknown interface in short?

0 Answers  


How can we give strong name to assembly? What is satellite assembly?

2 Answers   SMNetserv,


I have a class declared as below public class a { public void add() {} } What is the diference between a a1 =new a; and simply a a1;

3 Answers  


Categories