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

Does c# supports destructors?

Answer Posted / chinju

yes c# support destructor.it is used to delete object
explicitly.Dispose() is used for this.if we didn't write the
destructor explicitly it will call the default destructor ie
Finalize().always destructor is executed after the execution
of name space

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If you define a user defined data type by using the class keyword, is it a value type or reference type?

933


What is the difference between finalize() and dispose()?

976


What is the keyword used to prevent a class from being inherited by another class?

1169


What is generic collection in c#?

999


What is different about switch statements in c#?

926


Difference between Value type & reference types ? and give the example in .Net?

993


What is an object pool in .net?

1099


What is predicate builder?

988


Is c# pass by reference?

943


What is lazy loading and eager loading in c#?

959


What is exe in c#?

973


Is predicate a functional interface?

1012


Explain About multi level and multiple inheritance how to achieve in .net

1090


Where’s global assembly cache located on the system?

1062


What is the implicit name and type of the parameter that gets passed into the class set method?

927