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

How to make sure Client Validation is enabled in ASP.Net MVC

0 Answers   B-Ways TecnoSoft,


Difference between <connectionstring> and <appsettings>

4 Answers  


What is a razor file?

0 Answers  


Why to use html.partial in mvc?

0 Answers  


what is connection pooling

5 Answers  






Explain Model, view and Controllers in Asp.Net MVC?

0 Answers  


What is the difference between ViewData, ViewBag and TempData?

0 Answers   Wipro,


can we change the page layout in ASP.NET 2.0 as grid layout like in the previous version?

1 Answers   TCS,


what is lazy loading in entity framework?

0 Answers   Microsoft,


How is method overriding different from method overloading

1 Answers   Siebel Systems,


What is the CLS

1 Answers  


Is CLR is compiler or Interpreter

3 Answers   L&T,


Categories