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 / amit kumar mishra

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

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it not possible to store a boolean value as a variable?

816


What is the difference between wrapper class and primitive?

821


What is data reader in c#?

996


explain the nature of the assembly work?

2499


Differentiate between the public and private ?

916


What is variable and its classification?

893


What is difference between events and delegates?

891


What is lock in c#?

853


What is a c# delegate?

991


Which language is used for desktop application?

895


without modifying source code if we compile again, will it be generated MSIL again?

859


Define multicast delegate? How it be used?

1003


What are different types of Delegates in C#?

964


What are the boolean data types in c#?

949


What is session management in c#?

914