Classes and structures have been the building blocks for creating applications in .NET. In .NET 5, the new record type was introduced. In this article, we will revisit the most important differences between classes and structures since there have been many changes since version 1.0. I will add records into the discussion too. I will also discuss the major performance differences between the three, and there are differences, some big!
Rockin’ The Code World with dotNetDave – Guest: Richard Campbell
Join me live on Saturday, March 5th at 10:00 PST on C# Corner Live for show #50 where my guest will be Richard Campbel, Co-host of .NET Rocks, host of RunAs Radio, chair of the Humanitarian Toolbox charity.
dotNetDave Supports Ukraine!
In 2015 I got to go to Ukraine to speak at a conference and at a user group where fell in love with the country and its people. This video explains just some of the reasons why.
dotNetDave Rocks the Philly Code Camp 2022
The dotNetDave For Those About to Code: Worldwide Tour will be at the Philly Code Camp in Philadelphia, PA on March 4th. I hope you will join me at this meeting.
Rockin’ The Code World with dotNetDave – Guest: Bill Penberthy
Join me live on Saturday, February 26th at 10:00 PST on C# Corner Live for show #49 where my guest will be Bill Penberthy, Senior Consultant, Unify Consulting.
A Look at 20 Years of Microsoft .NET: My First Enterprise Application and More!
20 years ago on February 13, 2002, the first version of Microsoft .NET was officially released and it’s still going even stronger today! As I reflect on this special anniversary, for the first time, I will discuss what led up to that release and my very first in-production enterprise application with .NET. I will also look at some of the apps I have written with .NET.
dotNetDaveTok: The Bang in C#
Join me for the first episode of dotNetDaveTok where I talk about the bang in C# and how I make it more readable when I am scanning code for issues.
Everything You Want to Know About the Record Type in .NET: Performance
In my article titled Everything You Want to Know About the Record Type in .NET 5… But Were Afraid to Ask that I wrote in early 2021, I introduced readers to the new record type introduced in .NET 5 and why, as a class author, I like it. In this article, I will drill down into the performance using the record type.
dotNetDave Says… Taking Care of Technical Debt
Most teams I have worked on have a big backlog of items to take care of their technical debt. If you don't take care of "technical debt", that debt will come due, it will be painful, costly, and you will lose customers.
Rockin’ The Code World with dotNetDave – Microsoft .NET 20th Anniversary Show
Join me live on Saturday, February 12th at 10:00 PST on C# Corner Live for show #48 for a very special panel show to celebrate the 20th anniversary of Microsoft .NET.
You must be logged in to post a comment.