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

Integer & struct are value types or reference types in .NET?

Answer Posted / guest

Integer and struct are value types in .net.Integer has
fixed range of values hence they are going to be stored in
the stack memory.so,what ever is stored in stack memeory is
a value type.struct is similar to a class(1.e, it contains
dataitems of different datatypes) but the only difference
is that struct is a value type ,class is a reference
type.struct is a value type because the values in struct
can be accesed with the help variable created for the
struct i.e,Dot operator appended to the struct variable can
be used to access each of the individual data items in the
struct class.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between user control and server control?

1046


What is manifest in .net?

1059


Tell me about secure socket layer? How to make use of the technology?

928


Which namespace is used to support multithearding in .NET?

945


Explain me what is a design pattern and what is it for?

1012


What is an anonymous method and how is it different from a lambda expression?

950


What is garbage collection and how it works. Provide a code example of how you can enforce garbage collection in .net?

893


Tell us what is a variable of implicit type and what is its scope?

976


What is Flyout Design Pattern in .NET?

1065


What is the difference between web application and enterprise application?

1028


Describe the Managed Execution Process

2086


What are pdbs?

1026


Write a program to create a user control with name and surname as data members and login as method and also the code to call it.

883


Please explain what do the terms “boxing” and “unboxing” mean?

976


Explain about .NET services?

1001