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

What is the main method?

473


What is the object class in c#?

483


In howmany ways can you deploy an assembly?

539


What is hash c#?

495


Explain what a diffgram, and a good use for one Define diffgram? How it be used?

542






Which operator cannot be overloaded in c sharp?

491


What are mutable and immutable types in c#?

484


What is the difference between parse and tryparse in c#?

488


What is gui in c#?

540


Why constructor is used in c#?

485


Is namespace necessary in c#?

489


What are most desktop applications written in?

472


What is c# used for in the industry?

488


Give an example of removing an element from the queue?

467


Are there constructors in c sharp?

565