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
State two different types of access modifiers.
What are abstract classes in c#?
What is a private method in c#?
Can we inherit two classes in c#?
What is marshalling in c#?
Is null c# operator?
What is the difference between system.text.stringbuilder and system.string?
What is the difference between inheritance and abstract class?
What is data hiding in c#?
What is the difference between malloc () and new?
List out two different types of errors in c#?
How can encapsulation be achieved?
Explain anonymous type in c#?
What does console writeline do?
How to reverse each word in a string using c#?