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
What is a page life cycle?
I’m having some trouble with cas. How can I diagnose my problem?
What is cached data phone?
What is routing in MVC?
List the events in page life cycle.
Is there any alternative to avoid name collisions other then Namespaces?
how to retrieve property settings from xml .config file.
What is s2s tracking?
What is the difference between file-based dependency and key-based dependency?
How does the service stream content?
What is content page in asp net?
Just by seeing the signature of the bean how can you specify whether it is a stateful or stateless session bean?
Explain swagger components.
Explain about solution explorer window?
Explain some of the major built-in objects in asp.net