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 is the difference between structures and enumeration ?



What is the difference between structures and enumeration ?..

Answer / kirti

Unlike classes, structs are value types and do not require heap allocation. A variable of a struct type directly contains the data of the struct, whereas a variable of a class type contains a reference to the data. They are derived from System.ValueType class.

Enum->An enum type is a distinct type that declares a set of named constants.They are strongly typed constants. They are unique types that allow to declare symbolic names to integral values. Enums are value types, which means they contain their own value, can't inherit or be inherited from and assignment copies the value of one enum to another.

public enum Grade

{

A,

B,

C

}

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

Why to use “{resource}.axd/{*pathinfo}” in routing in mvc?

0 Answers  


What is main objective of asp.net mvc 4 or what is new in mvc4 ?

0 Answers  


What is managed extensibility framework?

0 Answers  


What are actions in mvc?

0 Answers  


What is inline schema, how does it works

1 Answers  


who handles these error while writing the source code???.

2 Answers  


Hi my name is sahil. i did my bsc in 2008 n did marketing jobs thereafter. bt nw i wanna learn .net to enter IT field. Ive heard deccansoft,secbad is the best inst. for .net. bt do they provide placement?? as im not a fresher so will i be hired by any company..??

1 Answers  


what are the aggregate functions in ASP.NET?

1 Answers   CTS, IBM, Zylog,


Can source code be reverse-engineered from IL?

2 Answers  


What are the major improvements provided by the common language runtime and the base class libraries? Or what are the major improvements in .net framework 4.0?

0 Answers  


How route table has been created in ASP.NET ASP.Net MVC?

0 Answers  


Can two application one using private assembly and other using Shared assembly be stated as a side-by-side executables?

1 Answers  


Categories