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 is the difference between .net core and .net framework?
What are ajax helpers in mvc?
How do you enforce garbage collection in .NET
Can two application one using private assembly and other using Shared assembly be stated as a side-by-side executables?
Explain the advantage of packaging over xcopy in .net?
What is a serverside technology? what is a clientside technology? what is a clientserver technology? what is a internet based application? what is a intranet based application? what is a windows application? what is a console application? Difference between console application and windows application?
Which version of .net framework is installed?
What is orm entity framework?
What is the difference between STA and MTA?
Explain the use of Inversion of control (IOC)?
If we not suppress finalize method in dispose what will happen?
Explain JSON Binding?