What is Assert Method ?
Answers were Sorted based on User's Feedback
Answer / anandkbs
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 | 1 No |
Answer / vathsala
Assert is a method that can be called on code access
permission classes and on the PermissionSet class. You can
use Assert to enable your code (and downstream callers) to
perform actions that your code has permission to do but its
callers might not have permission to do. A security
assertion changes the normal process that the runtime
performs during a security check. When you assert a
permission, it tells the security system not to check the
callers of your code for the asserted permission.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a proxy in web service?
Difference between response.redirect and server.transfer?
Which is faster viewdata or viewbag?
what is the difference between sql 2000 and 2005?
What do you mean by serialize and marshalbyref?
How you can use video conferencing in asp.net? guys plz help me ...
What are the types of authentications in ASP.NET?
2 Answers Accenture, BirlaSoft,
What is web configuration file and how to use in web application
How does asp.net work?
difference between Trace and Debug ?
2 Answers Accenture, HCL, Patni,
which is faster ArraytList Or Collection ? how? hows the Hashing works internally ?
what is publisher?
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)