What to Know About Value Types and Reference Types in C#
page 1 of 8
Published: 07 Jul 2008
Abstract
Value types and reference types are important concepts in C#. In this article, Brendan describes these concepts in an easy way. This beginners' tutorial is written to help people unfamiliar with these concepts to gain a basic understanding of them.
by Brendan Enrick
Feedback
Average Rating: 
Views (Total / Last 10 Days): 5221/ 328

Introduction

Anyone planning on writing code in C# should understand the data types available. Before diving into this, however, it is important to understand value types and reference types. This article is designed to give you a quick understanding of these. This article is not meant for people who already understand the difference between these two categories of data types. Knowing this information will give you a much better understanding of how data is stored and how to correctly interact with this data in C#. As you read on, I explain the difference between these two classifications of data types, and I explain how these differences impact you as a C# developer.


View Entire Article

Article Feedback

Title:  
Name:  
Url: ( Optional )
Comment:  
Please add 1 and 4 and type the answer here:

User Comments

Title: Very very helpful   
Name: Poornima
Date: 9/5/2008 2:04:04 PM
Comment:
It is a fantastic article written in very simple language which makes it easy for beginners like me to understand.I understood everything explained in the article and Now i think I can make some sense out of the big fat C# books which I was trying to read in the first place.After struggling through complicated articles and ebooks this was like a breath of fresh air.Thanks a ton
Title: A Good Article for Beginners.   
Name: Ahsan
Date: 7/9/2008 1:19:11 AM
Comment:
It is really a very nice article for the beginners to get very Good Concept on Value Type and Reference Type.

Thanks for providing such a clear explanation.
Title: Very informative   
Name: Prince
Date: 7/9/2008 1:03:24 AM
Comment:
It was really informative. All concepts are well described except nullable which i couldn't make out :) Thanks for sharing this.
Title: Good Article   
Name: suchi banerjee
Date: 7/9/2008 12:37:57 AM
Comment:
It is a very good article. Probably you could have added a little more i.e. Cloning.
Title: RE: Good Article   
Name: Brendan
Date: 7/8/2008 8:57:35 AM
Comment:
@Ravi Chougule

Thanks, I was trying to keep it simple and easy enough for beginners to understand. I am quite happy to hear that it is also valuable for you.
Title: Good Article   
Name: Ravi Chougule
Date: 7/8/2008 5:59:37 AM
Comment:
This is really good atrticle for all...not just beginners.
Thank you

Product Spotlight
Product Spotlight 
Learn More
.NET Tools
asp.net shopping cart
asp.net chart control






Ads Powered by Lake Quincy Media
Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2008 ASPAlliance.com  |  Page Processed at 9/7/2008 10:51:34 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search