what is reference type to value type.

Answer Posted / sudhir sheoran

Value Types:-
Directly contains their values either
on stack or inline in a structure.

Each value types have their own copy of
data so doesn't effect each other.

Reference Type:
Contains a reference to the values memory address
Allocated on heap.
These can be self describing,pointer type or interface type
Reference type can refer to the same object.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you change a master page dynamically at runtime? How?

505


Are cookies client side or server side?

498


How to retrieve user name in case of Window Authentication?

279


What are the differences between clr & cts?

543


What is client side state management?

508






What is event in asp.net?

538


Explain a program using code nuggets to create a simple application? : asp.net mvc

511


Asp pages that worked pefectly on windows 2000 server and iis 5.0 do not work on windows 2003 server with iis 6.0. Asp.net pages work fine. Why?

561


Explain the difference between an exe and a dll?

529


what cut off mark for po's,what questions they asked for interview?

1422


Explain why it is useful to use mvc instead of webforms? : asp.net mvc

600


What do you understand by aggregate dependency?

618


Which methods validate all the controls on a page?

550


Why do we need master page in asp.net?

532


Just by seeing the signature of the bean how can you specify whether it is a stateful or stateless session bean?

554