#csharp12

2025-06-07

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! 🧼📦

2024-06-18

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

devblogs.microsoft.com/dotnet/

Chris Woody Woodruffcwoodruff
2024-04-25

🚀 Dive into Chapter 5 of my and network programming book online! Master multithreading and parallelization to supercharge your network programming. Boost performance and efficiency, and unlock the power of modern processors! 📷 csharp-networking.com/chapter0

Chris Woody Woodruffcwoodruff
2024-04-25

🚀 Dive into Chapter 5 of my and book online! Master multithreading and parallelization to supercharge your network programming. Boost performance and efficiency, and unlock the power of modern processors! 🖥️ csharp-networking.com/chapter0

💾 Paweł Łukasikpawel_lukasik@infosec.exchange
2024-02-26

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 ❤.

2024-01-17

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
blog.jetbrains.com/dotnet/2024

Matthew MacDonaldprosetech@hachyderm.io
2024-01-11

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 medium.com/young-coder/spotlig #csharp #csharp12

Steve LoveIAmSteveLove
2023-11-22
2023-11-20

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: bit.ly/3QOmPWJ

#dotnet #dotnet8 #csharp

2023-11-17

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

2023-11-15

C# 12 collection expressions are very nice for quickly prototyping, or just writing your test data cleanly and quickly too

#csharp #dotnet #csharp12 #dotnet8

Screenshot of a code diff, showing the difference between old explicit definitions with lots of repetative boiler plate, against the new code which only shows the data.
Denis TrollerDenisTroller
2023-11-07

I am very happy to announce that and now support the upcoming & a full week before their release!

Find out more on community.sonarsource.com/t/ne

Chris Woody Woodruffcwoodruff
2023-09-06

🖊️ Excited to announce my upcoming book: "Practical Network Programming Using C#." Dive deep into and , exploring everything from fundamentals to advanced networking techniques. Stay tuned for launch details! 📚💻
woodruff.dev/practical-network

Matthew MacDonaldprosetech@hachyderm.io
2023-07-12

Finally finished my annual writeup of upcoming #csharp features! Which ones do you think will make into the release? Extensions and roles are super cool, but do we risk adding too much cognitive load to the OOP story in C#?medium.com/young-coder/introdu #dotnet #csharp12

2023-04-25

What’s new in #CSharp12?

While still in the preview version, the C# 12 version introduces 3 new features:
1️⃣ Primary constructors for non-record classes and structs
2️⃣ Using aliases for any type
3️⃣ Default values for lambda expression parameters

More on #InfoQ: bit.ly/3AqHCb5

#dotnet #CSharp

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst