what are value types and reference types? where they are stored?
Answer Posted / poornima
Value Types:
All numeric data types
Boolean, Char, and Date
All structures, even if their members are reference types
Enumerations, since their underlying type is always SByte,
Short, Integer, Long, Byte, UShort, UInteger, or ULong
Reference Types:
String
All arrays, even if their elements are value types
Class types, such as Form
Delegates
1..In value type data stored on stack memory.
2..In reference type data stored on heap memory.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Why is dll used?
Explain About multi level and multiple inheritance how to achieve in .net
How many types of delegates are there in c#?
Is c# an open source language?
What are the delegates in c#?
Is php easier than c#?
what is main function of alternate teamplate of datalist?
What is the use of console readkey in c#?
What is the difference between static and private constructor in c#?
What is binding in c#?
Is it possible to execute multiple catch block for a single try statement?
Explain About .NET Remoting and types of remoting
How garbage collection deals with circular references.
Explain the accessibility modifier protected internal?
What is lazy t?