Tweet
SIGN UP
Member Login:
POST A QUESTION
CATEGORIES
.Net
Brain Exercise
Database
Design Patterns
General
Hardware
Languages
Networking
OOP
Operating System
Reporting
Testing
Third-Party Tools
Web Development
COMPANIES
Others
MCN Solutions
Infosys
HCL
MCN Solutions Pvt. Ltd
Mindcracker
Questpond
IBM
InfoAxon Ltd
Wipro
JOB FUNCTIONS
Senior Management
Project Manager
Project Lead
Tech Lead
Team Lead
Architect
Sr. Developer
Sr. Programmer
Programmer
Developer
DBA
What are Value types and Reference types ?
Posted by
Prabhu Raja
in
.Net
|
ASP.NET
on
Dec 27, 2011
Tweet
6352
2
0
What is boxing and unboxing ?
What is lazy loading?
Related Questions
Enum is Reference Type or Value Type?
Difference between value and reference type?
what is the difference between reference type and value type?
Is string a value type or a reference type?
Why can't we store null in value types?
what is typed dataset .how to use typed dataset in multiple registration form?
Do you know the answer for this question? Post it below.
reference type is hold memory ,and value type is store actual data in memory
any things else
Posted by
prabhu singh
on
Jan 28, 2012
Value types directly contain their data which are either allocated on the stack or allocated in-line in a structure.
Reference types store a reference to the value's memory address, and are allocated on the heap. Reference types can be self-describing types, pointer types, or interface types.
Variables that are value types each have their own copy of the data, and therefore operations on one variable do not affect other variables. Variables that are reference types can refer to the same object; therefore, operations on one variable can affect the same object referred to by another variable. All types derive from the System.Object base type.
Posted by
Prabhu Raja
on
Dec 27, 2011
QUESTION POST LEADERS
1
2
3
4
5
6
7
8
MOST POPULAR QUESTIONS
What is Serialization in .NET, types of Serialization and why we need it while developing an application?
What’s the difference between an interface and abstract class?
What is difference between UNIQUE and PRIMARY KEY constraints
What is Polymorphism? How does VB.NET/C# achieve polymorphism?
What’s the difference between the Debug class and Trace class?
What is a "Virtual Directory"?
What is Difference between ASP.NET 2.0 and ASP.NET 3.5
explain about page life cycle in Asp.net
Difference between NTFS and FAT32
What are the magic tables available in SQL Server 2000?
Sponsored by
Become a Sponsor
MOST LIKED QUESTIONS
Which namespaces are necessary to create a localized application?
What is Polymorphism? How does VB.NET/C# achieve polymorphism?
One application can have only one web config file - true or false.
TAG CLOUD
.NET
ADO.NET
app_themes
ASP.NET
C
C#
Database
Datagrid
Design
DirectoryServices
games
GridView
Images
jquery
MVC
Silverlight
Silverlight 5
Thread
try
tutorials
VB.NET
WCF
Windows Forms
WPF
XML
PREMIUM SPONSORS
View More
LATEST JOBS
Applying for job
Metro Style App Developer
.NET Developer WPF or Silverlight exp Boston MA
ASP .Net Developers
Split Testing Designer
.NET Developer
Web Developer
Application Engineer Expert
.NET Developer
Application Developer
View All Jobs
|
Interview Questions
|
Ask a Career Question
Sponsored by
Become a Sponsor
WHITEPAPERS AND BOOKS
Essentials of Capacity Planning: Microsoft SharePoint Server 2010
Chapter 15: Customizing the Display
Chapter 9: OpenType Font Support
Successfirmations: Think, Reveal, Receive
SharePoint Designer 2010 Essentials
Building Standalone Data-Driven Applications using SQL Server Compact 4.0
Programming XML with C#
Reporting with Reports Viewer in Visual Studio 2005
Programming C# for Beginners
Programming Windows Common Dialogs with Visual C# 2010
View All
TOP MEMBERS
MOST VIEWED
TRENDING NOW
PRIZES
AWARDS
BOOK REVIEWS
SURVEY
Hosted By
CBeyond Cloud Services
PHOTOS
TIPS
CONSULTING
TRAINING
STUDENTS
MEMBERS
MEDIA KIT
SUGGEST AN IDEA