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

How to make sure custom class supports deterministic
finalization?

Answer Posted / sandeep negi

By implementing IDisposable interface! Try to use 'using'
block so that after executing this block its dispose method
will be called automaticaly.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are Regex / regular expressions ?

1017


Where is the keyword void used?

893


How does substring work in c#?

911


Explain the difference between // comments, /* */ comments and /// comments?

836


How many types of variables are there in c#?

909


What is window application in c#?

905


Why c# is called c sharp?

826


What Is An Interface Class?

1006


Is there an equivalent to the instanceof operator in visual j++?

909


What is the difference between disposing of () and finalize() methods in c#?

954


How can an inner class access the members of outer class?

927


How assembly versioning in .NET prevent DLL Hell problem?

901


What is difference between array and collection in c#?

836


What are the types of constructors?

857


What is escape sequence in c#?

954