Understanding Memory<T>
Modern applications often require handling large datasets efficiently without unnecessary data copying. C# introduced Memory<T> as a versatile tool for optimizing memory management. Here we will explore how Memory<T> solves common issues and its advantages over traditional approaches.
Aggregating Data with LINQ in .NET9
.NET9 has introduced two new LINQ methods, CountBy and AggregateBy, making data aggregation easier and more efficient without the need for complex intermediate steps like GroupBy.
Inline Lambdas with LINQ in C# 13
Reduce verbosity by simplifying lambda expressions with inline syntax
Parameter Null Checking in C# 11
Get ride of common boilerplate code to validate if the method arguments are null with C# 11.
The magic of LINQ
Practical LINQ: Calculate the duration of whole music album
How to return Yield Results in Async Operations
How to return Yield Results in Async Operations thanks to IAsyncEnumerable in C#
Performance increase in LINQ 7
Microsoft used Span and hardware acceleration to work with vectors in order to improve LINQ performance in .NET 7 dramatically.
Global and implicit Using statements in C# 10
Global and implicit Using statements in C# 10 reduce the number of usings you need to specify at the top of each file.
File-scoped Namespaces in C# 10
File-scoped Namespaces in C# 10 simplify your code and removes a level of nesting.