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 is ssdl?

0 Answers   Microsoft,


Explain ASP.NET MVC Identity and Security?

0 Answers  


Does the .NET Framework have in-built support for serialization?

2 Answers  


How you can implement custom validation in asp.net MVC?

0 Answers  


How we can call a javascript function on the change of a dropdown list in mvc?

0 Answers  


What is the difference between viewbag and viewdata in mvc?

0 Answers  


what is explicit loading?

0 Answers   Microsoft,


Explain the request flow in asp.net mvc framework?

0 Answers  


Can a nested object be used in Serialization

1 Answers  


What is Differnce between html.action and ajax.action?

0 Answers   HCL,


What happens when you encounter a continue statement inside the for loop ?

1 Answers  


How do I use partial view?

0 Answers  


Categories