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


Can you declare a C++ type destructor in C# like ~MyClass() ?



Can you declare a C++ type destructor in C# like ~MyClass() ?..

Answer / mr vinod kumar

Yes, but what's the point, since it will call Finalize(), and Finalize() has no guarantees when the memory will be cleaned up, plus, it introduces additional load on the garbage collector.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is Delegate and what is it used for ?

0 Answers   NA,


What are expressions c#?

0 Answers  


What is sqlcommandbuilder c#?

0 Answers  


What are the ways to deploy an assembly?

3 Answers  


What is difference between Method and function

3 Answers  


What is difference between array and arraylist in c#?

0 Answers  


What are properties in C#?

0 Answers   UGC Corporation,


What is lazy class in c#?

0 Answers  


Can I define a type that is an alias of another type (like typedef in c++)?

0 Answers  


How many root nodes are there in an xml document?

0 Answers  


What is thread in c#?

0 Answers  


What is the use of the dispose method in C# ?

0 Answers   Infosys,


Categories