Integer & struct are value types or reference types
in .NET?

Answers were Sorted based on User's Feedback



Integer & struct are value types or reference types in .NET? ..

Answer / kondapallysantoshkumar

valuetype,becuase they r allocated on stack..

Is This Answer Correct ?    2 Yes 0 No

Integer & struct are value types or reference types in .NET? ..

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

Integer & struct are value types or reference types in .NET? ..

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

Post New Answer

More Dot Net Framework Interview Questions

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 ?

1 Answers   BirlaSoft,


what is deferred loading(lazy loading)?

0 Answers   Microsoft,


What is Peek method in Tempdata in ASP.Net MVC?

0 Answers  


how do you mark a property as required? For example, for a project, the name is a required field.

0 Answers   Microsoft,






What is model first? : Entity framework

0 Answers  


If foreground completes its processing will it wait for background threads?

1 Answers   Kanbay,


Integer & struct are value types or reference types in .NET?

3 Answers  


What is Partial Assembly References?

3 Answers   Microsoft,


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?

0 Answers   Avanade,


Mention two instances where routing is not implemented or required?

0 Answers   Infosys,


Categories