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

Httpcontext objects?

2 Answers   HACL, HP,


Can we have more than 1 partial classes in the same file?

3 Answers   Encora,


Explain the methods used to render the views in mvc?

0 Answers  


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

1 Answers  


will there be any issues adding a table without primary keys to a data model?

0 Answers   Microsoft,






What is entity framework firstordefault?

0 Answers  


What are advantages of Dependency Injection (DI) in ASP.Net MVC?

0 Answers  


what is mean by type-safe? Please answer me. Advance thanks.

0 Answers   Excel,


how can you enhance the performance of entity framework?

0 Answers   Microsoft,


What is ASP.NET MVC?

1 Answers  


Describe the roles of clr in .net framework.?

0 Answers  


mention in what all scenarios entity framework can be applicable?

0 Answers   Microsoft,


Categories