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() ?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are access modifiers used for?

1081


What is difference between static and readonly in c#?

1026


Why do we need encapsulation in c#?

958


Suppose you have already existing application with Visual Studio 6 (VB 6, InterDev 6) and this application utilizes Windows 2000 COM+ transaction services. With this example how can you approach migrating this application to .NET?

896


Where is the keyword void used?

939


So what makes your code really object-oriented #?

964


What is difference between class and abstract class in c#?

920


What type of data type conversion happens when the compiler encounters the following code?

932


Which sorting algorithm is best?

997


Explain briefly the difference between value type and reference type?

1027


What is static class in C#?

1028


how to sort an array in c#

997


Explane each and every methods of nterface Queue? Explain About performance issues on retrieving records

1060


What is a variable in c#?

907


Explain the steps to create satellite assembly?

897