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
Explain the difference between “as” and “is” operators used in c#?
What are examples of desktop applications?
Is list a collection c#?
What is cli in c#?
How to prevent the error while updating ui control from another thread?
Name the property of the textbox which cannot be changed at runtime?
Is lazy thread safe c#?
What is verbatim string?
Name the control which cannot be placed in mdi?
What is a type c#?
Can bool be null c#?
Is php better than c#?
I need code to connect ohter systems in the LAN and i want to display my website image over there and i want explain as a admin through phone. So i need code to access other system using C-Sharp. Any one please help me.Please give me the code. Advace thanks.
How do I do implement a assert?
What is difference between c sharp and c#?