C# 12 introduces collection expressions! 🎉 Declaring arrays, lists & spans is now simpler & cleaner with a unified syntax. Combine collections easily using the `..` spread operator. Less code, more readability! 🧼📦 #CSharp12 #DotNet #CleanCode

Refactor your code with default lambda parameters - .NET Blog

This article concludes a series on C# 12, highlighting "default lambda parameters" which simplify expressing default values in lambdas, enhancing code readability and maintainability

#CSharp12 #Charp #CodeReadability #Maintainability #Programming #DotNet #SoftwareDevelopment

https://devblogs.microsoft.com/dotnet/refactor-your-code-with-default-lambda-parameters/

Refactor your code with default lambda parameters - .NET Blog

Explore opportunities to refactor your C# code with default lambda parameters, a new feature in C# 12.

.NET Blog
🚀 Dive into Chapter 5 of my #CSharp12 and #DotNET8 network programming book online! Master multithreading and parallelization to supercharge your network programming. Boost performance and efficiency, and unlock the power of modern processors! 📷 #dotnet #csharp #techskills https://csharp-networking.com/chapter05/
Multithreading in Network Applications

C# 12. This chapter will explore how multithreading allows your application to perform multiple tasks in parallel, enhancing performance and...

🚀 Dive into Chapter 5 of my #CSharp12 and #DotNET8 book online! Master multithreading and parallelization to supercharge your network programming. Boost performance and efficiency, and unlock the power of modern processors! 🖥️ #dotnet #csharp #techskills https://csharp-networking.com/chapter05/
Multithreading in Network Applications

C# 12. This chapter will explore how multithreading allows your application to perform multiple tasks in parallel, enhancing performance and...

Small C#12 change everyone missed.

C#12 brings few changes to the language. Primary constructor, collection expressions, alias any type and so on. But there's one small change that almost no one is talking about.

Previously, for an empty record we could use really short notation like `record MyRecord;` - that's it what was needed by the language. But it was not working for classes, structs or interfaces. You would still need to add the curly brace - twice (opening & closing one). C# 12 bridges that gap and now you can use this minimal form for all the types 👇.

#dotnet #language #csharp12
---
If you find this useful, consider giving a like & share ❤.

ICYMI, ReSharper and Rider introduced #interceptor inlay hints. 🤙 A nice way to stay informed about intercepted method calls, especially in #AOT projects. Navigation included! 🗺️

Learn more in my latest blog post!

#dotnet #csharp #csharp12
https://blog.jetbrains.com/dotnet/2024/01/16/interceptors-using-csharp-12-in-rider-and-resharper/?utm_medium=social&utm_source=mastodon&utm_campaign=interceptors-using-csharp-12-in-rider-and-resharper

Interceptors – Using C# 12 in Rider and ReSharper | The .NET Tools Blog

Welcome to our series, where we take a closer look at the C# 12 language features and how ReSharper and Rider make it easy for you to adopt them in your codebase. If you haven’t yet, download the

The JetBrains Blog
I've updated my C# 12 language article to align with the features that were released (in November 2023). The take-away is syntactically simpler constructors and collections, and a little bit more. See https://medium.com/young-coder/spotlight-on-c-12-238fcb75628a?sk=5531365cd68b2fbaf8dd1a79a9a3fcbd #csharp #csharp12
Spotlight on C# 12 - Young Coder - Medium

C# developers are used to Microsoft’s slow and steady drip of language enhancements. There’s a new version of C# released every November, along with the latest update to .NET — in this case, that’s…

Young Coder

Exciting updates in #CSharp12!

From collection expressions to primary constructors for all classes and structs, syntax to alias any type, and more.

Head over to #InfoQ for details: https://bit.ly/3QOmPWJ

#dotnet #dotnet8 #csharp

What's New in C# 12: Primary Constructors, Collection Expressions, and More

As part of the .NET 8 launch, on November 14th Microsoft unveiled the new features of C# 12, the latest version of the popular .NET programming language. As announced the most notable improvements include collection expressions, primary constructors for all classes and structs, syntax to alias any type, and default parameters for lambda expressions.

InfoQ
I think I rather like this #primaryconstuctors think in #csharp #CSharp12 #dotnet8