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 windows form in c#?
What is the difference between field and variable in c#?
Can var be null c#?
What is foreach loop in c#?
What is sqladapter c#?
What is the role of the datareader class in ado.net connections?
What are delegate methods?
What are c# collections?
What is selector c#?
How do you name a variable in c#?
What is difference between ienumerable and enumerable in c#?
what is a destructor?
What is difference between comparable and comparator?
Define delegation in .net?
What do you understand by the terms datareader object and dataset object?