C# .NET

.NET benchmarks

Have you ever wanted to test if a solution or algorithm you've written or refactored is performing faster than the previous iteration? In this post, we'll take a look at how you can use the BenchmarkDotNet library to write benchmarks for your C# code.

C# 12 updates - Collection expressions

C# 12 finally introduces some new syntactical suger that I'm eager to use in production because it improves the readability of the code.

C# 12 updates - Default lambda parameters

In C# 12, Microsoft has added the ability to specify default values for your lambda parameters.

C# 12 updates - ref readonly

In C# 12, Microsoft has added the ref readonly parameter modifier.

C# 12 updates - Primary Constructor

For those of you coming for Javascript or Kotlin, you're going to love this new feature. Set your member variables through a primary constructor.