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
Overloaded constructor will call default constructor internally?
Explain the difference between abstract class and interface.
What is public or shared assemblies ?
What is event delegate in c#?
What is difference between write and writeline in c#?
What are bitwise logical operators?
What is lastindexof c#?
Describe an abstract class?
Can we call server-side code (c# or vb.net code) from javascript?
What is sorted list in c#?
What is verbatim string literal in c#?
Is c# code is unmanaged or managed code?
What is ildasm.exe used for?
What is tochararray in c#?
What is difference between events and delegates?