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

What data type does the Range Validator control support?

5 Answers  


What is state management in asp.net and define Client-side state management and Server-side state management?

2 Answers   TVS,


What object is used to encapsulate a rowset? a) DataSet b) DataAdapter c) DataRowSet d) DataTable

2 Answers   Syntax Softtech,


what is SAP fullform

161 Answers   A3Logics, Amazon, DFD, Federal Mogul, Hol Info, IBM, Infosys, Jai Ganesh, Kesri Metal, Lupin, Microsoft, RPG, SAP Labs, SRS Group, TCS, Videocon,


How to change the form layout in ASp.net 2.0 ?

1 Answers   Netsweeper,






hi i have a problem regarding to datagrid in aspdotnet.i have a datagrid in my application.i have to place add,edit,delete buttons or links what ever it may be. now the problem is if i click on add button then the page has to redirected to another form called "xyz.aspx" and if i click on edit button the page has to redirected to another form called "abc.aspx".i am phasing the problem that if where ever i click on the datagrid the cursor goes to gv1_SelectedIndexChanged event.please tell me the solution about the code.

4 Answers   Lambent,


In early binding will the method invoked on com component will verify it?s existance in the system or not ?

0 Answers   DELL,


What is the significance of ASP.NET routing?

0 Answers   NA,


Define view state.

0 Answers  


i want to implement grid view value in paypal site. so how to create this code in asp.net with C#

0 Answers  


What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state?

0 Answers  


How can we do the client side validation and Server side validations? But i told that At client side by with the help of validations control or by javascript? But I dont know about the Server side controls Explain?

5 Answers   iSoft, TCS,


Categories