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
How can we sort the elements of the array in descending order?
What is the difference between add and addrange in c#?
What is the difference between an integer and int?
What is iformatprovider in c#?
Why is it important to override gethashcode when equals method is overridden?
Explain About Postback
What is variable and its classification?
What is Implementation inheritance and interface inheritance?
How long does it take to get a loop recorder put in?
What are the types of delegates in c#?
What are the types of attributes in c#?
Are c# strings immutable?
Int map to which .net types?
Is c# substring zero based?
What is dll in vb.net?