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 are background threads? give ex?
And if they have conflicting method names ?
Does razor engine supports for tdd?
What is the difference between Finalize and Dispose (Garbage collection)
If we write return statement in finally block will it works fine or throws any error?
Explain RenderBody and RenderPage in ASP.Net MVC?
Is it possible to combine asp.net webforms and asp.mvc and develop a single web application?
Explain representational state transfer (rest) in detail?
what is Thread Priority?
What are the contents of assembly?
what is csdl?
What is the use of viewmodel in mvc?