what are value types and reference types? where they are stored?
Answer Posted / ctharam
Data Type are 2 Kinds. they are 1) Value Data Type 2) Reference Data Type.
1) Value Data Types are stored in Stack Memory Location( bool,byte,char,decimal,double,enum,float,int,long,struct,short and uint)
2) Reference Data Type are stored in Heap Memory Location(Class,Object,Array,Interface,Delegate and Dynamic).
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is xml c#?
Explain the working of serialization?
What will be the output of the following code?
What is the difference between dynamic type variables and object type variables in c#?
How big is an int16?
What is the difference between an integer and int?
What is an assembly qualified name
What is the base class of all classes in c#?
What is hashtable c#?
Is c# static or dynamic?
What is the purpose of private constructor in c#?
What is the difference between Java and .NET garbage collectors?
What is a three-tier application.
What is the difference between abstract class and interface in c#?
Can a class have more than 1 destructor?