Regular Expressions using RegexOptions.IgnoreCase slower than inline case insensitive pattern syntax in .NET 6

RegexOptions.IgnoreCase often offers better readability and expression of intent than inline pattern matching. We can see examples of the two … Continue reading Regular Expressions using RegexOptions.IgnoreCase slower than inline case insensitive pattern syntax in .NET 6

In .NET 6 we can set default return values for FirstOrDefault(), LastOrDefault() and SingleOrDefault() 

.NET 6 has a few LINQ improvements. One of them is support for custom default return values for FirstOrDefault(), LastOrDefault() … Continue reading In .NET 6 we can set default return values for FirstOrDefault(), LastOrDefault() and SingleOrDefault()