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?



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

Answer / 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

More Dot Net General Interview Questions

How does linq work?

0 Answers  


What is .net environment?

0 Answers  


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

0 Answers  


Difference b/w dataset.clone and dataset.copy ?

1 Answers   Protech,


What is assemblies in .net?

0 Answers  


1.What is the major advantage of polymorphism? Please don't simply say binding. Specify any other reason.

2 Answers   247Customer,


Explain how does assembly versioning work?

0 Answers  


Class for getting the info that is on clipboard of our system in a windows App?

1 Answers  


In Mvc Architecure what is view?

1 Answers   TCS,


what are the Goals of the UIP Application Block?

1 Answers  


how do you retrieve the customized properties of a .NET application from XML .config file? Can you automate this process?

1 Answers  


Explain the difference between the stack and the heap?

0 Answers  


Categories