What is difference between value and reference types?
Answer Posted / payal
value
this stored actual value
reference
stored the address of the value
value store in stack
reference is stored in heap
the variable which are value type they each time create
their own copy
the variable which are reference type they refer the same
object every time
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is a bool in c#?
What is sqldataadapter in c#?
What is web forms in c#?
What is var c#?
Explain how obfuscator works in .net
List down the access modifiers available in c#?
What is the meaning of 0 in c#?
update data in an xml file which resides in solution itself, using silverlight 4.0
What is returned if you pass the value 12.34 to the parsefloat () function?
Can a struct inherit from another struct or class in c#?
What is xslt in c#?
What is array formula?
What is the difference between Static, Const and read only?
What is the use of console readline () in c#?
From which base class do all Web Forms inherit from?