What does assert() method do?

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


Please Help Members By Posting Answers For Below Questions

what is conceptual model?

599


What is the use of the default route {resource}.axd/{*pathinfo} ?

551


Asp.net mvc application, makes use of settings at 2 places for routing to work correctly. What are these 2 places?

623


how do you query in entity model when the result has a join from from different database other than the entity model?

554


How to enable Attribute Routing?

613






Why to use “{resource}.axd/{*pathinfo}” in routing in mvc?

563


Can you Write the GC(Garbage Collector) Algoritham in .NET? (But not Explination of Working of GC).

1796


What is .net framework in simple terms?

538


Explain the advantages of asp.net mvc over asp.net?

591


Explain Keep method in Tempdata in ASP.Net MVC?

564


What are the components required to create a route in ASP.Net MVC?

581


How can we determine action invoked from HTTP GET or HTTP POST?

564


What are Action Methods in ASP.NET MVC?

572


mention what are the various methods provided by the dataset object to generate xml?

598


Explain how you can send the result back in JSON format in MVC?

578