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 clr namespace?

0 Answers  


What is the base class from which all value types are derived?

0 Answers  


What is routing in c#?

0 Answers  


what is a callback function?

4 Answers  


What is the difference between virtual method and abstract method?

0 Answers  


What does a constructor do c#?

0 Answers  


what is uniary operators and binary operators and what is the difference

1 Answers   Protech,


What is attribute and reflection in c#?

0 Answers  


How to implement delegates in c#.net

0 Answers  


Hai, I want to open a new form while the previous form is hiding or closing. I tried this with using MDI.I created one form like ParentForm.placed one button control.when clicked one that it opend new form like ChildForm.When i set the property of ChildForm to Maximize,but the ParentForm button control also appearing on the childform. so plz help me how to hide parentform controls(hide parentform while it is childform opened) thanq..

1 Answers  


Why would you use untrusted verification?

0 Answers  


What is a private constructor? where will you use it?

6 Answers   Fulcrum Logic,


Categories