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 the types of Scaffoldings.

0 Answers  


Explain Sections is ASP.Net MVC?

0 Answers  


what is Assemble

4 Answers   Microsoft,


What is the difference between using system.net and system.net.sockets?

1 Answers  


If we write return statement in finally block will it works fine or throws any error?

7 Answers   Kanbay,


How OS come to know whether to load the .net framework when we run an .exe created using .Net framework?

0 Answers   MCN Solutions,


Where are the value-type variables allocated in the computer RAM ?

1 Answers  


what is namespace?

9 Answers   TCS,


What is the .net framework?

0 Answers  


Can we free memory explicitly without waiting for garbage collector to free the memory in .net compact framework?

0 Answers  


what is csdl?

0 Answers   Microsoft,


What are the methods in Thread class?

3 Answers  


Categories