What is Assert Method ?

Answers were Sorted based on User's Feedback



What is Assert Method ?..

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

What is Assert Method ?..

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

Post New Answer

More ASP.NET Interview Questions

hi all; i need standard notes on .net(basics) for my seminar. im a starter in .net. plz suggest whr can i get satisfactory notes!!!

1 Answers  


Types of session management in ASP.NET ?

2 Answers   Microsoft,


Where is the session stored?

1 Answers  


what is Versioning in asp.net and how it maintain in any web application

1 Answers   TCS,


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?

1 Answers  


what is the difference b/w Asp.net server controls and html server controls in .net?

2 Answers   iGate, Profiniti Systems,


What are the differences between Trace and Debug?

2 Answers   Accenture,


can any one tell about web services?

5 Answers  


To bind columns manually which tags do you need to add within the asp:datagrid ?

1 Answers   Siebel,


What type of code (server or client) is found in a Code-Behind class?

3 Answers   Siebel Systems,


What are the difference between overriding and overloading?

1 Answers  


How to limit table cell size with long strings?

1 Answers   IBS,


Categories