What does assert() do?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How many aware interfaces are there?

627


Can a sealed class be used as a base class?

688


What is arraylist c#?

622


What is cls, cts and clr in net?

652


What Happens In Memory When You Box And Unbox A Value-type?

628






Is as keyword in c#?

653


How to add a readonly property in c#.net

690


What is list array in c#?

624


What are the properties in c#?

665


State two different types of access modifiers.

733


Does google use c#?

679


What is iqueryable and ienumerable in c#?

686


Explain the working of serialization?

647


What are the advantages of properties in c#?

705


What is deferred execution?

638