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 is the .net class that allows the retrieval of a data element using a unique key?

759


What is the use of CLR in .NET?

771


State the different levels of exceptional safety?

752


Explain the types of memory management? : Dot net architecture

714


can u give me real example of how web.config overrides the machine.config file?

1489


Whate are resource files? How are they used in .net?

681


Explain the types of memory management? : .NET Architecture

696


Explain the purpose of cache? : Dot net architecture

651


What are the new features of .net 2.0?

718


Define a managed code? : Dot net architecture

688


Can I create my own permission set?

749


how we can fire event in databound column in datagrid without using button?

782


what is inheritancy where u required ?

1729


inprocess vs out process session state : Dot net architecture

712


How do I prevent concurrent access to my data?

757