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.

Answers were Sorted based on User's Feedback



I created a class which is inherited from interface IDisposable. Now if I use object of this class ..

Answer / amit kumar mishra

public void Dispose()
{
GC.SupressFinalize(this);
}

Is This Answer Correct ?    2 Yes 1 No

I created a class which is inherited from interface IDisposable. Now if I use object of this class ..

Answer / imatoria

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

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More C Sharp Interview Questions

Explain attributes in c#?

0 Answers  


What is difference between continue and break in c#?

0 Answers  


Indexers in c#?

8 Answers   Intaglio, Microsoft, TCS,


Is it possible to nest cfml conditional tags?

0 Answers   HCL,


What exactly happens when we debug and build the program?

0 Answers  


What is a .aspx file?

0 Answers  


What are accessors?

0 Answers  


What is the main method?

0 Answers  


How to make sure custom class supports deterministic finalization?

1 Answers   IBM,


Can an interface inherit class/abstract class.

1 Answers   Synechron,


What is access specifier in c#?

0 Answers  


Is xml tags are case sensitive?

0 Answers  


Categories