adspace


What is value type and reference type?

Answer Posted / kishore

Value types are the variables that directly contain the
vaiue and are stored in stack memry.
Example: int, char, float...

Reference types does not contain the value directly but has
the address of the value i.e reference address..
Reference types are stored in Heap memory.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is expression tree in c#?

998


Which namespaces are necessary to create a localized application?

1142


Why can't we use a static class instead of singleton?

954


How to assign Null value to Var?

1064


How do you inherit a class into other class in c#?

995


What is an abstract class c#?

969