what are value types and reference types? where they are stored?
Answer Posted / pankaj
value types------int,float,char
reference type----Array,class
value types stored in stack while reference type stored in heap.
in reference type address f variables are stored
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is default c#?
What is collection class c#?
Can you have an array of arrays?
What is dependency injection in simple words?
What is the difference between throw and throw ex?
What is a Command Object in C#?
Why data types are important?
What's the difference between the debug class and trace class? Documentation looks the same.
Is c# and .net same?
What is variable in c#?
What does public mean in c#?
Where test director stores its data ? Database ,Local file etc...? I need to read this data from Visual Studio 2005 c# client. Regards
What is the class in c#?
What is CLR and its application.?
Overloaded constructor will call default constructor internally?