Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What does assert() do?

Answers were Sorted based on User's Feedback



What does assert() do?..

Answer / guest

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

What does assert() do?..

Answer / akshay

assert() is mainly used for debugging the code. The expression is given in the brackets and if the expression becomes false the Assertion Failure takes place. Which simply terminates the application giving file name and line number.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is the main usage of keyword “virtual” ? How does it work for a method or property?

0 Answers   Siebel,


Is for loop faster than foreach?

0 Answers  


Is it possible to inherit multiple interfaces?

0 Answers   Siebel,


What is ulong in c#?

0 Answers  


Why do we need dependency injection in c#?

0 Answers  


What does Dispose method do with the connection object?

3 Answers  


Can multiple inheritance implemented in c# ?

0 Answers  


What exception can an overridden method throw in comparison with the method it is overriding?

0 Answers   Changepond,


What is string pool in c#?

0 Answers  


Can dictionary have duplicate keys c#?

0 Answers  


Why do we need properties in c#?

0 Answers  


Explain how is the dll hell problem solved in .net?

0 Answers  


Categories