Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Using Statement usage in C#

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


Please Help Members By Posting Answers For Below Questions

What are the different web pages?

901


What is tracing? Where is it used?

1145


How can you pass multiple complex types in Web API?

1043


What is a server cookie?

986


Explain different types of Caching techniques in ASP.NET?

995


How to change Master page in ASP.Net using code?

1041


What are the various types of cookies in asp.net?

999


What is difference between singleton and single call?

1054


Explain asp.net page life cycle?

1068


Which property is used to identify the Page is Post Back in ASP.NET?

1003


What is .net remoting?

1029


What is mvc in angular?

960


Where session id is stored?

964


How can we make sure that Web API returns JSON data only?

1000


hi .net gurus. plz if any one has dumps on 70-631 and 70-541 on windows sharepoint services kindly mail me.

1635