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

How do you implement multiple inheritance in .NET?

10 Answers   Microsoft,


How?s method overriding different from overloading?

4 Answers  


What is boolean method?

0 Answers  


Can enum have methods c#?

0 Answers  


What is the difference between double and decimal in c#?

0 Answers  


Why is it a bad idea to throw your own exceptions?

1 Answers   Visual Soft,


What is difference between static and constant variable?

0 Answers  


Types of polymerphism and explain about dynamic polymerphism?

5 Answers  


What is an array of arrays called?

0 Answers  


Can we change static value in c#?

0 Answers  


What is difference between constants and readonly in c#?

0 Answers  


What is the difference between Decorator and Adapter pattern?

0 Answers   QuestPond,


Categories