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
Question 1 Discuss the following with respect to .NET Technologies Web Applications Web Server Connections Question 2 Write a sample program using ASP.NET explain

What is the use of data adapter? The Data adapter are the objects that connect one or more Command objects to a Dataset object. They give logic that would get data from the dat

We want help in ASP.NET MVC Developer I want an expert ASP.NET MVC, C#,LINQ, SQL Server2012, JQuery, Angular JS, Bootstrap Responsive UI developer for more 6+ months. Desired

The costumer is an application that tracks production costuming, structure and other related pieces. We discussed this in detail and you have commentary and video to define the pro

What is the Append Format for FileUpload Control in ASP.Net? What it specify?

What is the use of connection object? The connection objects are used to connect a data to the Command object. 1)An OleDbConnection object is used with the  OLE-DB provider

What is DISCO? DISCO is a method developed by Microsoft to publish and discover Web services. It discovers URLs of all XML Web services located on a Web server and develops a

What are the precautions by which SQLSERVER Mode work properly Following are the things to keep in mind so that the SQLSERVER Mode works properly:- A) In the SQLSERVER mode,

How can we connect to Microsoft Access, Foxpro , Oracle etc ? The Microsoft provides System.Data.OleDb namespace to communicate with the databases such as Oracle, scess  etc. I

What is the difference between "DataSet" and "DataReader"? The major differences between "DataSet" and "DataReader" are as follows:- 1)The "DataSet" is a disconnected archit