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

What are destructors in C#?

Answer Posted / hrpynux@gmail.com

Destructors in C++ are members functions in a class that delete an object. They are called when the class object goes out of scope such as when the function ends, the program ends, a delete variable is called etc. ... Also, destructors have the same name as their class and their name is preceded by a tilde(~).

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is java better than c#?

866


What are the different types of classes?

920


What is deferred execution in c#?

861


How to transpose multi-dimensional array?

1005


What are the benefits of using the aggregate method in linq?

934


Why we use extension methods in c#?

813


Structs are largely redundant in c++. Why does c# have them?

1203


Why do we use virtual methods in c#?

901


What is an escape sequence? Name some string escape sequences in c#.

872


What is appdomain in c#?

839


Which config file has all the supported channels/protocol?

923


How does yield return work c#?

875


What is a console in c#?

807


What is better C# or VB.NET?

871


Can you store different types in an array in c#?

903