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's the difference between class and object?

1047


What is default method in c#?

1093


What is the best dependency injection c#?

924


What is the purpose of ienumerable in c#?

1072


What is console readkey ()?

1026


Is enum a value type c#?

1104


What is default parameter in c#?

1020


What are anonymous functions in c#?

995


What is difference between array and list?

970


What is a multicast c# delegate?

1168


Define sealed classes in c#?

980


Which config file has all the supported channels/protocol?

1036


Enlist some of the properties of a thread class?

982


What is array c#?

970


What is readline c#?

946