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

What happens when I install the .net framework 3.0? How can I upgrade if I already have the .net framework 2.0 installed?

0 Answers  


What is Area in ASP.Net MVC?

0 Answers  


Is any files are generated,when we are adding the web reference to the web service?

1 Answers  


which are the key concepts of entity data model?

0 Answers   Microsoft,


What is code first? : Entity framework

0 Answers  


When using aspx view engine, to have a consistent look and feel, across all pages of the application, we can make use of asp.net master pages. What is asp.net master pages equivalent, when using razor views?

0 Answers  


Possible ways to prevent xss attacks on mvc application?

0 Answers  


What “beforFilter()”,“beforeRender” and “afterFilter” functions do in Controller?

0 Answers  


I want ask from plz smaple example code for Biztalkk server

0 Answers  


how can you tell ef to have a different table or column name than that defined for the class?

0 Answers   Microsoft,


How can I stop my code being reverse-engineered from IL

1 Answers  


What are the components required to create a route in mvc?

0 Answers  


Categories