Using Statement usage in C#
Answers were Sorted based on User's Feedback
Answer / nipun
The using statement allows the programmer to specify when objects that use resources should release them. The object provided to the using statement must implement the IDisposable interface. This interface provides the Dispose method, which should release the object's resources.
e.g.
using (Font font1 = new Font("Arial", 10.0f))
{
}
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / om shivaya namaha
Using statement is used to import the namespaces in to the
page by reading the namespace classname it will search the
class in DotNet Farame work class library and that
perticaular class is imported in to the page
Is This Answer Correct ? | 2 Yes | 3 No |
Is it possible for me to change my aspx file extension to some other name?
What is the concept of view state in asp.net?
Does google crawl redirects?
Hi All, Im an MCA holder with 3+ years of experience in asp.net. Now i want to move to some good government job. I have no idea about different categories of exams held & which one can be applicable for my education background. I have done B.A with MCA. Please help me out with your valuable suggestions. I would be very grateful. Thanks Anuj
What is the difference between application object and session object?
What threading model used in asp and asp.net?
What is reflection and disadvantages of reflection?
How do we implement bundling in MVC?
What are session state modes? List some of the important session state modes of asp.net.
1.how to encrpt query string in asp.net? 2.there are 10000 records then i wnat display 5000 records one gridview and 5000 records another grid view what is the process?
What methods are fired during the page load?
Where is session data stored in asp net?