Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is Value type and reference type in .Net



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

Post New Answer

More Dot Net Framework Interview Questions

Is it possible to share a view across multiple controllers?

0 Answers  


What is the use of dataadapter ?

5 Answers   Arvato,


Explain what is routing?

0 Answers  


What are Model Binders in ASP.Net MVC?

0 Answers  


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

0 Answers  


Is CLR is compiler or Interpreter

3 Answers   L&T,


Why is entity framework used?

0 Answers  


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

1 Answers  


What is Peek method in Tempdata in ASP.Net MVC?

0 Answers  


I have 2+ years of fake experience,actually i could not answer for project questions..?how can i answer please suggest me..?

0 Answers   Accenture,


If you are using components in your application, how can you handle exceptions raised in a component ?

4 Answers   Accenture, BirlaSoft,


When was .NET announced

1 Answers  


Categories