what are value types and reference types? where they are stored?
Answer Posted / chiyan
value types holds the data directly ,no default value for
value type ex-->predefined datatypes
-->structures
-->enumarator
valuetypes will be stored in stack memory.
refe types does not holds the value directly,ref type holds
the default value ex-->arrays
-->classes
-->objects
ref types will be stored in heap memory.
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What is sorting in c#?
What are access modifiers in c#?
Is cli same as the clr?
Is javascript harder than c#?
Can you declare a class or a struct as constant?
The int maps to which C# keyword in .NET type?
What is serialization in .net?
What is the base class from which all value types are derived?
What are the access modifiers in c#?
What is a class in unity?
What is variable in c#?
What is selector c#?
Explain the constructor in c#.
If you want to write your own dot net language, what steps you will u take care?
What does question mark mean in c#?