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...

I created a class which is inherited from interface
IDisposable. Now if I use object of this class with using
keyword. Then How the dispose method will get call. Does
garbage collector call it or some else.

Answer Posted / imatoria

http://msdn.microsoft.com/en-us/magazine/cc163392.aspx

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Will the following code compile?

1016


Is null or empty in c#?

1009


Where do I put dll files?

1051


Why data types are important?

1009


What is difference between list and ilist in c#?

991


What do you mean by casting a data type?

977


If you define a user defined data type by using the class keyword, is it a value type or reference type?

928


Why does my windows application pop up a console window every time I run it?

1024


What are functions c#?

1038


What is lock in c#?

950


What is singleordefault?

951


What is constructor overloading in c#?

1113


What are the access modifiers in c#?

985


In .NET which is the smallest unit of execution?

1109


Which string method is used for concatenation of two strings in c#?

1068