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
I am seeking someone who can design customized software for me, preferably in .NET. I have a sql server backend which i would like to use so you only have to work with the front en

Project Description: I need a SharePoint Developer tutor to teach me the development of SharePoint from scratch. We will be communicating through TeamViewer and Skype. I have ac

What are Daemon threads? Daemon thread's run in the background and stop automatically when nothing is running program. The Example of a Daemon thread is the "Garbage collector"

How do I force the Dispose method to be called automatically, as clients can forget to call Dispose method? To Call the Dispose method in the Finalize method and in the Dispose

What are function points? The FPA is breaking huge systems into smaller pieces and analyzing them. The Software application is a combination of set of elementary processes. The

I need Windows 8.1 Project, Asset management slate App Project Description: We are seeking a Windows 8 app developer with PROVABLE experience to prepare a project and asset m

What is XML DOM? The DOM stands for Document Object Model, which explains the logical formation of documents and provides the way to access and manipulate a document. It suppli

Project Description: I need to unlock software or make a similar kind of software. It is presently installed in my PC and I will provide you installation files if needed. It wil

how to replace a keyword using powershell

I need C# Programmer Project Description: To help in the production of a C# module to provide a web service. We are based in Littlehampton, West Sussex. Skills required ar