Answer Posted / 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 |
Post New Answer View All Answers
Explain the asp.net mvc request life cycle? : asp.net mvc
What do you mean by role-based security?
In which situation can you not use a viewstate?
What is difference between rest and soap?
Describe the difference between inline and code behind - which is best in a?
How do you secure your connection string information?
What does the hotspot class in .net do?
Define dll hell?
Explain the difference between array and linkedlist?
What threading model used in asp and asp.net?
What does postback mean?
What is state management technique?
What is a page life cycle? What are the events in a page life cycle?
14. What are your Future Plans for Swatz Oils GROUP U.K?
What is session id in web application?