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

what is msl?

0 Answers   Microsoft,


What are Non Action methods in ASP.Net MVC?

0 Answers  


How route table is created in ASP.NET MVC?

0 Answers   NA,


who handles these error while writing the source code???.

2 Answers  


give the feature of .net2.0 over .net1.1

6 Answers  


what is .edmx file and what it contains?

0 Answers   Microsoft,


What is side-by-side execution? Can two application one using private assembly and other using Shared assembly be stated as a side-by-side executables

1 Answers  


Is .net framework dead?

0 Answers  


Explain the methods used to render the views in ASP.Net MVC?

0 Answers  


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

0 Answers  


Explain the advantages of dependency injection (di) in asp.net mvc?

0 Answers  


How the color of selected menu item will be changed in asp.net menu item?

1 Answers   Cognizant,


Categories