C# 12: Default Parameters in Lambda Expressions
In the previous blog posts of this C# 12 series you learned about different C# 12 features:
In this blog post, you will learn about another feature: Default Parameters in Lamdba Expressions.
(more…)In the previous blog posts of this C# 12 series you learned about different C# 12 features:
In this blog post, you will learn about another feature: Default Parameters in Lamdba Expressions.
(more…)In the previous blog posts of this C# 12 series you learned about different C# 12 features:
In this blog post, let's look at another new feature that allows you to alias any type with a using directive. Before we dive in, let's ensure that you understand how you could already alias namespaces and types before C# 12.
(more…)In the previous blog post you learned about C# 12 primary constructors. In this blog post, you will learn about another C# 12 feature that is called collection expressions. They allow you to initialize collections - and so arrays - in a simpler way.
(more…)In November 2023, Microsoft released .NET 8.0, and since then you can use C# 12.
So, it might be a good time for you to learn about the new features of the programming language of the year 2023. To learn the features, I start with this post a small series of blog posts.
When building a web application, it can be helpful to deploy your application with the latest features and code changes to a server, so that users can actually test it. Especially at the beginning of a new project, setting up such an environment where test users can immediately see and test new features is super important.
(more…)In the previous blog posts you learned about different C# 11.0 features:
In this blog post, let's look at another interesting feature of C# 11.0 which is called Generic Math.
(more…)In the previous blog post you learned about C# 11.0 raw string literals. In this blog post, you will learn about another C# 11.0 feature that is called Generic Attributes.
(more…)In November 2022, .NET 7.0 was released, and since then, you can use C# 11.0.
In version 11.0, the C# language got a bunch of new features. I want to explore the new features I'm most excited about together with you in a series of blog posts. Let's start in this blog post with a feature called Raw String Literals.
(more…)In the previous blog posts you learned about different C# 10.0 features:
In this blog post, let's look at another interesting feature of C# 10.0 which is called extended property patterns.
(more…)In the previous blog post you learned about C# 10.0 file-scoped namespaces. In this blog post you learn about another C# 10.0 feature that is called global using directives.
(more…)