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 session state modes?
How to automatically get the latest version of all the asp.net solution items from source safe when opening the solution?
What?s a bubbled event?
What is difference between Lambda Expression and LINQ in ASP.NET?
Explain what are the advantages of asp.net mvc framework? : asp.net mvc
Can the unique key be null?
i have a register form & in that form i have a 2 textboxes for entering name&age.my doubt is that how can i provide error message like "invalid entry" when user enter a invalid name/age(eg:user enter name as #%%%##daff,and age as 1000.)in that textboxes.I want code.
Where do you store the information about the user?s locale?
1 Answers Siebel, Visual Soft,
What is autopostback in dropdownlist in asp net?
Which template must you provide, in order to display data in a Repeater control?
What is asp.net master page?
How to authenticate users using web.config ?
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)