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

Are tuples mutable c#?

947


What is meant by generics in c#?

921


Difference between a sub and a function in c#.

974


What is the purpose of constructor in c#?

858


How does one compare strings in c#?

1019


How does return work in c#?

973


What is the execution entry point for a c# console application?

989


What is xor operator in c#?

952


Does c# support multilevel inheritance?

884


Can we instantiate abstract class in c#?

896


What is sorting in c#?

1016


1. Describe page life cycle?

2112


Can constructor be protected?

900


Can I use parseint?

890


What is namespace c#?

927