What does assert() do?
Answers were Sorted based on User's Feedback
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 |
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 |
What is iqueryable in c#?
Can you store multiple data types in System.Array?
20 Answers Satyam, Siebel Systems,
What is alias in c#?
If a.equals(b) is true then a.gethashcode & b.gethashcode must always return same hash code.
What does exclamation mark mean c#?
What is the difference between final finally and finalize in c#?
What is expandoobject in c#?
How do I run a cshtml file?
ctype(123.34,integer) - should it throw an error? Why or why not?
Explain About delegates
Why do we use Design Pattern?
Describe how a .net application is compiled and executed
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)