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

how do you query in entity model when the result has a join from from different database other than the entity model?

0 Answers   Microsoft,


In which testing using in .net framwork?

2 Answers  


Explain the use of Inversion of control (IOC)?

0 Answers  


Which version of .net framework is installed?

0 Answers  


What is work of clr?

0 Answers  


Which is the best institute for .net?

16 Answers  


If we want to construct our own Garbage collector what are the steps things we have to do?

3 Answers   Honeywell, Semantic Space,


Is the lack of deterministic destruction in .NET a problem

1 Answers  


And if they have conflicting method names ?

1 Answers  


What is the difference b/w constant & read only variable?

4 Answers   IMI Soft Engineering,


What is .net framework in simple terms?

0 Answers  


Can you draw and explain the .NET Farmework?

2 Answers   Bosch,


Categories