Start Debugging

Blog

Page 5 of 20

2026-01-04 dotnetdotnet-9
Streaming Tasks with .NET 9 Task.WhenEach
.NET 9 introduces Task.WhenEach, which returns an IAsyncEnumerable of tasks as they complete. Here is how it simplifies processing parallel results as they arrive.
2026-01-02 csharp-13csharpdotnet
C# 13: The End of `params` Allocations
C# 13 finally eliminates the hidden array allocation behind params. You can now use params with Span, ReadOnlySpan, List, and other collection types for zero-allocation variadic methods.
2026-01-02 csharpcsharp-proposals
C# Proposal: Discriminated Unions
A look at the C# discriminated unions proposal: the union keyword, exhaustive pattern matching, and how it could replace OneOf libraries and class hierarchies.
2026-01-02 dotnetdotnet-9
.NET 9: The End of lock(object)
.NET 9 introduces System.Threading.Lock, a dedicated lightweight synchronization primitive that replaces lock(object) with better performance and clearer intent.
2026-01-01 dotnetdotnet-9
Optimizing Frequency Counting with LINQ CountBy
Replace GroupBy with CountBy in .NET 9 for cleaner, more efficient frequency counting. Reduces allocations from O(N) to O(K) by skipping intermediate grouping structures.
2025-04-12 dotnetdotnet-10
.NET 10: Stack allocation of arrays of value types
In .NET 10, the JIT can stack-allocate small fixed-size arrays of value types, eliminating heap allocations and delivering up to 60% faster performance compared to .NET 9.
2025-04-11 mauidotnetdotnet-10
What’s new in .NET MAUI 10
A summary of new features, improvements, and breaking changes in .NET MAUI 10, released with .NET 10 and C# 14 in November 2025.
2025-04-10 mauidotnetdotnet-10
How to change SearchBar’s icon color in .NET MAUI
How to change the SearchBar icon color in .NET MAUI using the new SearchIconColor property introduced in .NET 10.
2025-04-09 csharp-14csharpdotnet
C# 14: Simplified parameters with modifiers in lambdas
C# 14 allows using ref, out, in, scoped, and ref readonly modifiers on implicitly typed lambda parameters, eliminating the need to explicitly declare parameter types.
2025-04-08 csharp-14csharpdotnet
Partial constructors and events in C# 14
C# 14 lets you declare instance constructors and events as partial members, splitting definitions across files for cleaner code generation and separation of concerns.
Prev Next