What is Value type and reference type in .Net
Answer / kirti
Value Type : A variable of a value type always contains a value of that type. The assignment to a variable of a value type creates a copy of the assigned value, while the assignment to a variable of a reference type creates a copy of the reference but not of the referenced object.
The value types consist of two main categories:
* Stuct Type
* Enumeration Type
Reference Type :Variables of reference types, referred to as objects, store references to the actual data. This section introduces the following keywords used to declare reference types:
* Class
* Interface
* Delegate
This section also introduces the following built-in reference types:
* object
* string
| Is This Answer Correct ? | 0 Yes | 0 No |
Can we add constraints to the route? If yes, explain how we can do it?
Describe the gac in the .net framework.
what is MetadData?. What is CTS? Type of Join in SQL Server? What is diffrence between Primary Key and Unique Key?
what is ssdl?
Explain the methods used to render the views in mvc?
Hi my name is sahil. i did my bsc in 2008 n did marketing jobs thereafter. bt nw i wanna learn .net to enter IT field. Ive heard deccansoft,secbad is the best inst. for .net. bt do they provide placement?? as im not a fresher so will i be hired by any company..??
What is razor code?
explain what does .edmx file contains?
what is a mvc in asp.net?
3 Answers Cap Gemini, Elsinoir Technologies, HCL,
What is the main difference between VS 2005 and VS 2003?
What is .net framework & its benefits?
What are the different authentication modes in the .NET environment?