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 mvc structure? given example? How to show gridview control from business components and using class object arrays?
To bind columns manually which tags do you need to add within the asp:datagrid ?
Explain managed code an un-managed code.
what is CTS?
a)COM Callable Wrapper b)Runtime Callable Which one of the above is Win32 API in .Net?
Explain what benefit does your code receive if you decorate it with attributes demanding specific security permissions?
What is difference between asp state management and asp.net state management? How can we pass info between 2 asp.net pages?
Authentication and Authorization
Explain what the contents of cookie?
How to disable SOAP1.2 in Web Services?
What are the three parts of an http response?
In asp.net 3.5 we can go one page to onther page without using statemanagment concept?