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 |
Httpcontext objects?
Can we have more than 1 partial classes in the same file?
Explain the methods used to render the views in mvc?
Can two application one using private assembly and other using Shared assembly be stated as a side-by-side executables?
will there be any issues adding a table without primary keys to a data model?
What is entity framework firstordefault?
What are advantages of Dependency Injection (DI) in ASP.Net MVC?
what is mean by type-safe? Please answer me. Advance thanks.
how can you enhance the performance of entity framework?
What is ASP.NET MVC?
Describe the roles of clr in .net framework.?
mention in what all scenarios entity framework can be applicable?