Start Debugging

Tag: dotnet

96 posts · Page 4 of 10

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.
2025-04-07 csharp-14csharpdotnet
C# 14: nameof support for unbound generic types
C# 14 enhances the nameof expression to support unbound generic types like List<> and Dictionary<,>, eliminating the need for placeholder type arguments.
2025-04-06 csharp-14csharpdotnet
Implicit Span conversions in C# 14 – First-class support for Span and ReadOnlySpan
C# 14 adds built-in implicit conversions between Span, ReadOnlySpan, arrays, and strings, enabling cleaner APIs, better type inference, and fewer manual AsSpan() calls.
2025-04-06 dotnetdotnet-10performance
.NET 10: Array Enumeration Performance Improvements (JIT Array De-Abstraction)
In .NET 10, the JIT compiler reduces the overhead of iterating arrays through interfaces. See benchmarks comparing .NET 9 vs .NET 10 with foreach, IEnumerable, and conditional escape analysis.
Prev Next