What does assert() method do?



What does assert() method do?..

Answer / swapna

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

Post New Answer

More Dot Net Framework Interview Questions

What are Action Filters in ASP.NET MVC and its use?

0 Answers  


What is the purpose of a web form?

0 Answers  


what is entity data model?

0 Answers   Microsoft,


What is the role of the jit compiler in .net framework?

0 Answers  


how can you tell ef to have a different table or column name than that defined for the class?

0 Answers   Microsoft,






How do you assign a value to a complex number 7 how has exception hand changed in .net framework 4.0?

0 Answers  


What is the use of action filters in an mvc application?

0 Answers  


What are the new features 3.5 framework against with the tool?

0 Answers  


In .net compact framework, can we free memory explicitly without waiting for garbage collector to free the memory?

0 Answers  


Explain the new features added in version 4 of mvc (mvc4)?

0 Answers  


What is .net architecture and framework?

0 Answers  


Is CLR is compiler or Interpreter

3 Answers   L&T,


Categories