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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Which .net framework is installed?

697


What is the difference between adding routes, to a webforms application and to an mvc application?

738


What is net framework 3.0 ?

791


If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?

2238


What is ViewData and TempData in ASP.Net MVC?

770


If I have multiple filters implemented, what is the order in which these filters get executed?

715


What is .net framework in simple terms?

753


What is the importance of NonActionAttribute?

808


What is the version number for the next version of the .net framework, codenamed �orcas�?

697


What is the difference between viewbag and viewdata in asp.net mvc?

848


What are the components required to create a route in ASP.Net MVC?

792


Is .net framework backwards compatible?

792


Possible ways to prevent xss attacks on mvc application?

753


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

794


What is iobjectset? : Entity framework

765