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

Explain linq to entities? : Entity framework

0 Answers  


differences between poco, model first and data first approach?

0 Answers   Microsoft,


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

0 Answers   Microsoft,


please tell me the best book of asp.net in the markit. which explain in simple and detail.

4 Answers  


Explain what platforms does the .net framework run on?

0 Answers  


how can you enhance the performance of entity framework?

0 Answers   Microsoft,


Where are the routing rules defined in an asp.net mvc application?

0 Answers  


what do you mean by table-per-type?

0 Answers   Microsoft,


What is entityset? : Entity framework

0 Answers  


What are multicast delegates ? give me an example

1 Answers  


How is method overriding different from method overloading

1 Answers   Siebel Systems,


Which version of .net framework is installed?

0 Answers  


Categories