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 private and shared assembly?
Can a dictionary have the same key?
Can I call a virtual method from a constructor/destructor?
Explain the Different types of configuration files in .net?
Define c# and list the features.
I need code to connect ohter systems in the LAN and i want to display my website image over there and i want explain as a admin through phone. So i need code to access other system using C-Sharp. Any one please help me.Please give me the code. Advace thanks.
Explain the difference between user control and custom control. Also, explain their use.
What is a generic class?
What is difference between singleordefault and firstordefault?
What is default c#?
Which namespaces are necessary to create a localized application?
What is method overriding in c#
How do I do implement a trace?
What does out mean c#?
What is satellite assembly? And steps to create satellite assembly?