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 HTML Helpers, AJAX Helpers in ASP.Net MVC?
What does 'managed' mean in the .NET context
Explain what is routing?
What is an asynchronous controller in asp.net mvc?
Why we need a separate mobile project template, while we can render our web application in mobile ?
What are ajax helpers in mvc?
What is attribute routing in mvc?
What filters are executed in the end?
im software developer (.net). i goth1b (usa )appointment 30th of this month . chennai people asking responsbilities .can anyone wht responsbilities i need say . plz help me
What is GUID , why we use it and where
What is difference between razor and web form engine?
Why are there five tracing levels in System.Diagnostics.TraceSwitcher?