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
Explain the difference between boxing and unboxing.
What is a interface in c#?
What are native functions?
What are the string functions in c#?
What are virtual classes in c#?
Why do we need generics in c#?
What is winforms c#?
How can you sort strings in array that are passed to method as arguments?
What is a nested type. Give an example?
What is tryparse?
Describe the process of “exception handling implementation” in c#?
Explain the various types of classes used in c#?
What is a deadlock lock?
What is private and shared assembly?
Can scriptable objects have methods?