what is the difference between value types and reference
types?

Answer Posted / gurpreet kaundal

value types are char,bytes,long and any data type but the reference types are classes,interfaces any type of functions.......and in reference type it stored the reference type varibles it means it stored the address of the varible in the heap...........and in value type it stroed the value of tha varible in the stack...........

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are constructors and destructors?

1715


Explain difference between machine config vs. Web config? : .NET Architecture

536


Is dim fs as filestreamobject is a managed code? : Dot net architecture

494


What are .net mobile controls features? : Microsoft dot net mobile

486


Explain dma? : Dot net architecture

550






I can't be bothered with cas. Can I turn it off?

526


What is MS chart control in visual studio?

686


Explain what does the term "green architecture" mean? : .NET Architecture

518


What is .net mobile lists. : Microsoft dot net mobile

471


Waht is Dot net Arcitecture

1952


Explain the Lapsed Listener problem in .net

665


Explain the purpose of cache? How is it used? : .NET Architecture

534


difference between Response.write,server.transfer and also which one is used when ?

1458


Explain how cache is used? : Dot net architecture

579


Does .NET runtime offer Deterministic Destruction or not?

594