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 |
Can I use razor code in javascript in asp.net mvc?
Explain entity lifecycle? : Entity framework
What is the use of the default route?
What is CLR and how it generates native code ?
1 Answers Digital GlobalSoft, Vital Soft,
Which approach provides better support for test driven development - asp.net mvc or asp.net webforms?
What is entitytypes? : Entity framework
What are the main components of .net framework?
What is filters in web api?
what is deferred loading(lazy loading)?
Explain how you can send the result back in JSON format in MVC?
Explain the new features 3.5 framework against with the tool?
What is web api‘s in asp.net mvc 4 ?