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

How structure objects are destroyed? As GC releases only
the objects in stack, and structure is a value type and
stored in heap. So how structure objects are released?

Answer Posted / chandu

Structure is a class but value type.once if you create an
object for any class then that is reference type,so
reference types can be destroyed by GC

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the base class for array types?

1031


Show us in simple steps to create setup & deployment project for windows application?

971


What is difference between Enum and Struct?

992


How many constructors can a class have c#?

903


What you mean by delegate in c#?

892


How many types of collections are there in c#?

887


Why do we override in c#?

873


Can destructors have access modifiers?

954


What does the initial catalog parameter define in the connection string?

930


Why main is static in c#?

1036


What is concrete method in c#?

920


how to Create a datagridview control with check box column with 8rows in it, the maximum number of check boxes checked should be 3, when user checks the 4th corresponding message should be displayed and check box should be checked. User can uncheck the checked boxes Note: read-only property should not be used

2877


What are the different ways of method can be overloaded?

876


Can a class have static constructor?

984


Explain the role of the datareader class in ado.net connections?

897