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

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


Please Help Members By Posting Answers For Below Questions

Is it possible to share a view across multiple controllers?

1028


What is objectset? : Entity framework

1071


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

3199


what is datacontrols?

3893


How does �side by side� work for the .net framework 3.0?

1035


Why to use '{resource}.axd/{*pathInfo}' in routing in ASP.Net MVC?

2803


explain how you can load related entities in ef (entity framework)?

1061


Explain test driven development (tdd) ?

1072


Which filter executes first in an asp.net mvc application?

1043


Why should we go for entity framework?

1066


Mention some action filters which are used regularly in ASP.Net MVC?

1038


When will the .net framework 3.0 be released?

1018


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

1066


What are the two ways to add constraints to a route?

1036


Explain the new features 3.5 framework against with the tool?

1008