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

Can I use razor code in javascript in asp.net mvc?

0 Answers  


Explain entity lifecycle? : Entity framework

0 Answers  


What is the use of the default route?

0 Answers  


What is CLR and how it generates native code ?

1 Answers   Digital GlobalSoft, Vital Soft,


Which approach provides better support for test driven development - asp.net mvc or asp.net webforms?

0 Answers  






What is entitytypes? : Entity framework

0 Answers  


What are the main components of .net framework?

0 Answers  


What is filters in web api?

0 Answers  


what is deferred loading(lazy loading)?

0 Answers   Microsoft,


Explain how you can send the result back in JSON format in MVC?

0 Answers  


Explain the new features 3.5 framework against with the tool?

0 Answers  


What is web api‘s in asp.net mvc 4 ?

0 Answers  


Categories