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
Is it possible to nest cfml conditional tags?
What are annotations in c#?
Explain About .NET Remoting and types of remoting
Can a static class have a constructor c#?
What is a streamwriter in c#?
What is a protected class in c#?
What is the difference between “dispose” and “finalize” variables in c#?
What is an object pool in .net?
What do you mean by generic class in c#?
What .exe means?
What is the meaning of console writeline in c#?
Can you use all access modifiers for all types?
What is a delegate in c#?
Why delegates are required?
What are the basic string operations? Explain.