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 |
If we want to construct our own Garbage collector what are the steps things we have to do?
3 Answers Honeywell, Semantic Space,
What's the difference between Java and .NET garbage collectors ?
what is deferred loading(lazy loading)?
What is Peek method in Tempdata in ASP.Net MVC?
how do you mark a property as required? For example, for a project, the name is a required field.
What is model first? : Entity framework
If foreground completes its processing will it wait for background threads?
Integer & struct are value types or reference types in .NET?
What is Partial Assembly References?
what are generics? Without generics what are the disadvantages in 1.1?
3 Answers HP, iSoft, nTech Solutions,
sql related question (outer join, left, right etc) array vs hashtable CRL sqldatareader vs dataset what is WPF, WCF, compare to WinForms Webservices Asp.net MVC vs WebForms?
Mention two instances where routing is not implemented or required?