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

List the difference between the virtual method and the abstract method?

0 Answers  


What is the difference between “finalize” and “finally” methods in c#?

0 Answers  


What is difference between abstract class and interface in c#?

0 Answers  


Why are strings immutable c#?

0 Answers  


What are the characteristics of c#?

0 Answers  


What are the different types of classes?

0 Answers  


how to convert String array to StringBuilder array or vice versa?

3 Answers   Wipro,


Can you create enumerated data types in C# ?

1 Answers  


How many constructors can a class have in c#?

0 Answers  


What?s the difference between System.String and System.StringBuilder classes?

1 Answers  


Which constructor is called first in c#?

0 Answers  


Is string mutable in c#?

0 Answers  


Categories