Thursday, August 23, 2012

What are Value type and reference types and Reference types

Value types directly contain their data that either allocated on the stack or allocated in-line in a structure. So value types are actual data.

Reference type store a reference to the value's memory address, and are allocated on the heap. Reference type can be self-describing types, pointer types, or interface types.

Variable that are value types each each have their own copy of the data, and therefore operation on one variable do not effect other variables. Variables that are reference types can refere to the same object. Therefore,operations on one variable can effect the same object referred to by another variable. All types derive from the System.Object base type.


If you are searching life partner. your searching end with kpmarriage.com. now kpmarriage.com offer free matrimonial website which offer free message, free chat, free view contact information. so register here : kpmarriage.com- Free matrimonial website

Related Posts:

  • Database TablesA database most often contains one or more tables. Each table is identified by a name (e.g. "Customers" or "Orders"). Tables contain records (rows) wi… Read More
  • SQLSQL is a standard language for accessing databases. SQL Syntax SELECT Company, Country FROM Customers WHERE Country 'USA' What is SQL? * SQ… Read More
  • Returns the number of rows in each table in a database.if exists (select * from sysobjects where id = object_id(N'[dbo].[sp_CreateDataLoadScript]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedur… Read More
  • Creates a data insert script from a tableif exists (select * from sysobjects where id = object_id(N'[dbo].[sp_CreateDataLoadScript]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedur… Read More
  • Using SQL in Your Web SiteTo build a web site that shows some data from a database, you will need the following: * An RDBMS database program (i.e. MS Access, SQL Server, M… Read More

0 comments:

Post a Comment