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

How do I count the length of a string in c#?

932


Why do we Need of static class in c#?

1026


Explain anonymous type in c#?

926


What is a linq in c#?

845


Define a strong name in .net?

963


What is the difference between c and c sharp?

969


Can you mark static constructor with access modifiers?

943


Can we change static value in c#?

1015


What does out mean c#?

902


What is ac callback?

868


When do you generally use a class over a struct?

931


Describe the types of comments in c#?

872


In .NET how can you solve the DLL Hell problem?

1131


What is function c#?

857


What is the use of console readkey ()?

961