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 change web.config settings from iis?

1 Answers   HCL, ReadySoft, Wipro,


Explain what platforms does the .net framework run on?

1 Answers  


How to enable Attribute Routing?

1 Answers  


Is razor a server side?

1 Answers  


Explain the use of Inversion of control (IOC)?

1 Answers  


How does CAS work

1 Answers  


When was the first version of .NET released

1 Answers  


What are the features that are new in .net 2.0

2 Answers   Emphasis,


Is it possible to combine asp.net webforms and asp.mvc and develop a single web application?

1 Answers  


What is presentation framework?

1 Answers  


Explain encapsulation

1 Answers   HPCL, Hughes Systique Corporation,


what is .NET ?

18 Answers   TCS,


Categories