There are several ways to sort a collection in .NET and one of them is by using LINQ. Two main extension methods are part of LINQ that can be used to easily sort collections.
Category: Coding Standards
DotNetDave Rocks On .NET Live
For the first time, I will be on the live show On .NET Live, on August 22nd, 2022 at 9 am PST. I'm so excited to chat about two of my favorite subjects, code quality, and code performance! This is going to be fun.
dotNetDave Rocks the Code Quality Conference 2022
The dotNetDave For Those About to Code: Worldwide Tour will be at the Code Quality Conference 2022 on August 19th. Last year we had over 72K software engineers watch the conference and I hope you will watch it this year to learn how to rock your code to release quality applications and services that meet your user's needs.
We Must Demand Quality in Ourselves, the Software We Write, and In Apps We Use!
In this article, for the first time, I discuss three subjects; demand quality in apps you use, demand quality in yourself (improve skills to grow professionally), and finally demand quality in the apps you write. Demanding a certain level of quality in yourself as well as apps that you use and develop will ultimately result in important growth as a professional, resulting in higher-paying jobs.
Coding Faster with dotNetTips Spargine 6: Validating Data Made Easy
In this article, I’m going to discuss new extension methods and show examples for validating data. In much of the code we write, we validate the state of a variable. In many cases, we use this to change program flow. These methods that I will describe make this very easy along with some added features.
Classes, Structures, and Records, Oh My!
The article discusses the differences among classes, structures, and records in .NET, focusing on their memory management, performance, and key features. Classes and records are reference types, while structures are value types. It highlights the memory allocation speed, serialization efficiency, and performance considerations, guiding developers in type selection for applications.
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.
Internationalization and Localization Performance: Collection Count() & Any() with Predicate
In this article, I will show you how to properly use Any() or Count() with collections taking globalization into account. Updated February 2023.
Internationalization and Localization Performance: Comparing Strings
When comparing strings, it's important to use StringComparison. This article shows the performance of the different choices. Updated February 2023.
Internationalization and Localization Performance: String Validation with Equals()
When formatting strings it's important to use CurrentCulture when displaying strings to the user. This article shows the performance of the different choices. Updated February 2023.

You must be logged in to post a comment.