we are working in .net namespaces like using
system.io,system.text. these namespace before we
use "using " keyword what means of using?
Answer Posted / shyam
using also defines the scope of our code..
suppose if we use
using(Class obj = new Class())
{
// code goes here
}
so it will also help garbage collector to empty the memory that was used for this code.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Dataset is the disconnected environment. suppose if you are binding records to gridview (disconnected environment) and you are making changes to the the grid but before updating the database if any other user modify the data, how will you avoid such problem?
What is a viewbag?
How can you display all validation messages in one control?
What is new asp.net core?
Suppose you want an asp.net function (client side) executed on the mouseover event of a button. Where do you add an event handler?
How to do state management in ASP.NET?
In Data grid the question is below quantity price total these are 3 fields available in data grid if you enter quantity the total has to update automatically.Price field is already filled completely
What are the new data controls in asp.net 2.0?
How does a content page differ from a master page?
What are httphandlers and httpmodules and difference between them?
What are the modes of updation in an updatepanel?
COM+ Used ________________ Isolation Level
Elaborate differentiation between Cache and Application?
What is the used of "ispostback" property?
What is side-by-side execution? Can two applications, one using a private assembly and other using a shared assembly, be stated as side-by-side executables?