Value types and reference types, DOT NET Programming

What are Value types and Reference types

The Value types directly contain their data which are either allocated on the stack or allocated in-

 Line in a  structure. The Reference types store a reference to the value's memory address, & are allocated on the heap. Reference types can be self-describing types, interface types or pointer types.

Variables which are value type have their own data copy, & thus operations on one variable do not affect other variables. Variables that are reference type can refer to the same object; therefore, operations on one variable can affect the same object referred to by another variable. All types are derived from the System. Object base type.

Posted Date: 9/21/2012 6:52:29 AM | Location : United States







Related Discussions:- Value types and reference types, Assignment Help, Ask Question on Value types and reference types, Get Answer, Expert's Help, Value types and reference types Discussions

Write discussion on Value types and reference types
Your posts are moderated
Related Questions
How many types of generations are there in a garbage collector? Memory management in the CLR is separated into three generations that are building up by grouping memory segment

What is UML? The Unified Modeling Language (UML) is a graphical language for documenting, specifying, visualizing,  constructing, and  the artifacts of a software-intensive sys

Project Description: Looking for a developer who will develop a web portal like zulutrade, some features will be taken from signaltrader the changes ould be like: 1) only cer

What is BCP utility in SQL SERVER? The Bulk Copy Program (BCP) is a command line utility by which you can import & export large amounts of data in and out of the SQL SERVER dat

Which are the namespaces in localization and globalization? There are 2 most important namespaces:- 1)System.Globalization - It contains classes that define culture-relate

What is XML? Extensible markup language (XML) is all about describing the data. Below is a XML which describes an invoice data. Shoes   12 10

First let me start by saying that I have been writing code for almost 25 years. So I am only looking for someone to assist advance a project I am working on. Someone that is unders

Project Description: We are looking for same usability/options of coachup.com thus, we will have different own UI design. Conditions: State your price and please describe/

What are the different locks in SQL SERVER? Depending on the transaction level there are six types of lock that can be acquired on data :- 1)Intent: The intent lock des

What is Data Independence? Data independence means that "the application is independent of the storage structure and access method of data". In other words, the ability to cha