Integer & struct are value types or reference types
in .NET?
Answers were Sorted based on User's Feedback
Answer / kondapallysantoshkumar
valuetype,becuase they r allocated on stack..
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / prateekbindal
Integer, boolean, struct are value type which are stored on
Stacks and string, arrays are referenced type which are
stored on Heap.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / rathi
Value types include:
All numeric data types
Boolean, Char, and Date
All structures, even if their members are reference
types
Enumerations, since their underlying type is always
Byte, Short, Integer, or Long
Reference types include:
String
All arrays, even if their elements are value types
Class types, such as Form
Delegates
| Is This Answer Correct ? | 2 Yes | 0 No |
What's the .NET class that allows the retrieval of a data element using a unique key
How we can register the Area in ASP.Net MVC?
I want ask from plz smaple example code for Biztalkk server
What is ASP.NET MVC?
What is meant by tempdata in mvc?
What is entity sql? : Entity framework
How to change the action name in ASP.Net MVC?
what is more complex to implement property, methods or event? how can I define criteria to compare the difficulty of implementation between them? for example the number of methods wanted to implements property is 2 methods. how many methods I need it to implements events?
What does CLR do as soon as an assembly is created ?
What is CLR and how it generates native code ?
1 Answers Digital GlobalSoft, Vital Soft,
What is difference between Viewbag and Viewdata in ASP.NET MVC?
How we can handle the exception at controller level in ASP.Net MVC?