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 are some of the commonly used commands in sqlcommand?
How to rotate an Image in C#?
What is literal control
What is JIT (just in time)? how it works?
What is uint16?
Give examples for reference types?
What is the use of getcommandlineargs() method in c#.net?
What’s a strong name?
What is datarelation c#?
What's c# ?
Is xamarin free?
What are the properties of string?
Why do we need dependency injection in c#?
write a C# Program add two matrix ?
What is data binding with example?