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 |
Is it necessary to create a Windows application or Web application to test a Web service ? Is it must to consume this service?
Explain the difference between Web Garden and Web Farm?
0 Answers Sans Pareil IT Services,
Difference between ISQL and OSQL??
Define caching.
What is runat?
Explain the main differences between asp and asp.net?
Why do we need url encoding?
Interface have Default Modifier Is 'Public'.Where We Will Use The KeyWord In Interface?
3 Answers Phoenix Technologies,
Explain different authentication modes in asp.net?
What would be salary for 6+ years of experience in ASP.NET in different metro city in india?
What is the difference between a thread and a process?
In a page I have gridview with options of select and delete using hyperlink when I am selecting any one of then it has to open another page how can it?