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 are html helpers in asp.net?
What is the use of @Register directives?
Code for updating the database by entering the data into textboxes in aspx form?
What is client side state management?
what is the exact purpose of http handlers and interfaces?
How to authenticate users using web.config ?
What is a proxy in web service?
• What Session State providers are available in ASP.NET? What are the pros and cons of each?
About Windows/Forms Authentication
What is the extension of master page in asp.net?
What is view state and how it works in asp net?
where the stored procedure are written in business logic or data acess layer?
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)