adspace


What is value type and reference type?

Answer Posted / usman

In simple words value types are those datatypes that store
there values on stack memory and values are settle down at
compile time example are "ENUM" and reference type are
those datatype that store there values in heap memory and
settle down while run time i.e dynamic types examples are
strings,class type etc

Cheers

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which namespaces are necessary to create a localized application?

1142


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

954


What is an abstract class c#?

969


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

995


How to assign Null value to Var?

1064


What is expression tree in c#?

998