Welcome to AspAdvice Sign in | Join | Help

Orcs Goblins and .NET

I enjoy reading and writing. I hope you enjoy at least the former. I have moved my blog to Brendan.Enrick.com.

Syndication

Tags

News

Add to Technorati Favorites

Locations of visitors to this page

All C# Feeds in one place!

View Brendan Enrick's profile on LinkedIn

Brendan Enrick's Facebook profile

Navigation

Archives

Advice Sites

Articles

Blogs

Music

Differences Between Structures and Classes in C#

Earlier today I was looking for a good reference outlining the differences between structs and classes in C#. I wanted a refresher on the subject, because I've been doing a reasonable amount of teaching lately. At Lake Quincy Media we have hired a couple of developers currently in school. In bringing them up to speed, I've been explaining a lot about programming languages, paradigms, etc. and it is nice to have good references to make sure that I am not passing along misinformation. In my quest to make sure that I'm remembering things correctly I found a great resource showing the differences between C# structs and classes. It is a very nice reference. I has links to different sections and code examples showing the differences it lists. I'll definitely be recommending that these guys take a look at this resource.

Note: In my opinion the best one thing to remember when thinking about structs and classes is that structs behave like value types and classes like reference types. If you know how to interact with each of those then you'll understand a lot of the differences right away.

Happy Programming Everyone!

Published Tuesday, May 20, 2008 9:37 AM by Brendan

Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Visual C# 2008 Keyboard Shortcut Reference @ Thursday, May 22, 2008 11:27 AM

As I've said in previously , I am working with developers who are just beginning to learn the tools of

Orcs Goblins and .NET

# Tests Not Executed In Test Results @ Friday, May 23, 2008 4:42 PM

Earlier today, as I was working with the Protégé I've been referring to previously , we were debugging

Orcs Goblins and .NET

# Visual C# 2008 Keyboard Shortcut Reference @ Wednesday, May 06, 2009 2:19 PM

As I've said previously , I am working with developers who are just beginning to learn the tools of the trade . They have a long way to go working with plenty of applications. All people always have more they can learn, so I'll pass along a useful reference

Brendan Enrick's Blog

# Tests Not Executed In Test Results @ Wednesday, May 06, 2009 2:19 PM

Earlier today, as I was working with the Protégé I've been referring to previously , we were debugging some code, and we ran into a little bug. Our tests results would not execute. We tried restarting Visual Studio and a lot of other stuff and it didn't

Brendan Enrick's Blog

Leave a Comment

(required) 
required 
(required) 
Enter the code you see below