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 the purpose of url encoding?
Do you know about caching with the datasource controls?
What is inheritance and an how it be used, example with an example?
Differentiate the session object and application object?
What is the use of web.config and machine.config files?
Which is faster viewdata or viewbag?
How can you enable impersonation in the web.config file?
What is cookies cache and session?
How do sessions work?
Why do we need master page in asp.net?
Can you nest updatepanel within each other?
How can we secure the data which is send from client side to server? Like the login id and paasword needs to be authenticated on the server but we cannot send it in plain text into the server.One more thing we are not using the SSL here.
Explain the difference between asp.net mvc and asp.net webforms? : asp.net mvc
Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc
What is the difference between union and join?