What is difference between value and reference types?

Answer Posted / chaitanya.k

Value types allocates the values in stack
Reference types allocates the value references in Heap

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a bool in c#?

561


What do you mean by stack and heap in c#?

557


Explain how to use an extender provider in the project.

591


Are arraylist faster or arrays?

588


What are synchronous and asynchronous operations?

565






How can I create image pieces/sub image?

569


Is Facebook a desktop application?

562


What is int32 in c#?

582


Is list passed by reference c#?

560


What is the use of static members with example using c#.net.

574


What do you know about WM_CHAR message?

650


What are boxing and unboxing?

606


What is datacontract in c#?

553


What is expandoobject in c#?

556


What is the difference between iqueryable and ienumerable?

557