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 the differences b/w structure and class?

Answer Posted / purushotham .tella

Structures are Value-Types. This means, the data that they
contain is stored as a stack on the memory. Classes are
Reference-Types, means they are stored as a heap on the memory.

Structures are implicitly derived from a class called
System.ValueType.

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of parse in c#?

911


What is data binding c#?

935


What is difference between continue and break in c#?

965


What are handlers in c#?

958


Explain 'structure padding'?

1134


What is difference between struct and class in c#?

919


What are the benefits of using generics?

999


What is the difference between abstraction and encapsulation in c#?

951


What is the difference between ref & out parameters in c#?

956


What are desktop applications examples?

954


Is arraylist type safe in c#?

990


Which is the best language for desktop application?

958


So let's say I have an application that uses myapp.dll assembly, version 1.0.0.0. There is a security bug in that assembly, and I publish the patch, issuing it under name myapp.dll 1.1.0.0. How do I tell the client applications that are already installed to start using this new myapp.dll?

900


How do you create dlls in .NET

1055


What is the extension of c# file?

1028