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 a race condition?
What is the difference between list and arraylist in c#?
If I want to override a method one of class A and in class b then how do you declare?
Which function is the entry point for a DLL in MS Windows 3.1?
How to declares a two-dimensional array in C#?
What are the uses of namespaces?
Do unused Namespaces in c# affect run-time performance?
code for arranging given number in possible permutation ways ex:123,321,312,132,231,213.
What are the boolean data types in c#?
Does hashset allow duplicates c#?
What is cache memory in c#?
How do you implement thread synchronization in c#?
What is the main purpose of delegates in c#?
Is comparator a functional interface?
Explain the Different types of configuration files in .net?