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

Is .NET a runtime service or a development platform?

1 Answers  


How route table has been created in ASP.NET ASP.Net MVC?

0 Answers  


What is the difference between ViewData, ViewBag and TempData?

0 Answers   Wipro,


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

0 Answers  


How to use multiple submit buttons in asp.net mvc?

0 Answers  


What is poco proxy? : Entity framework

0 Answers  


Can two application one using private assembly and other using Shared assembly be stated as a side-by-side executables?

1 Answers  


What is meant by tempdata in mvc?

0 Answers  


Can I set the unlimited length for "maxjsonlength" property in config?

0 Answers  


What are Non Action methods in ASP.Net MVC?

0 Answers  


Explain Bundle.Config in ASP.Net MVC4?

0 Answers  


Which is the default http method for an action method?

0 Answers  


Categories