C#
news

48stories

Stories

C#
C#
NBNDepend Blog NDepend Nov 13

C# 15 Labeled Break Continue

With C# 15 and .NET 11, a break or continue statement can name the loop it targets, ending the long reliance on flags and goto for escaping nested loops. The post covers the syntax, the compiler errors and the tooling that migrates old patterns.

C#
C#
KAKhalid Abuhakmeh Khalid Abuhakmeh Nov 10

C# Cheat Sheet: Modern Syntax Reference with Examples

Khalid Abuhakmeh published a broad C# reference aimed at .NET 10 / C# 14, collecting copy-paste examples for top-level statements, collection expressions, records, pattern matching, LINQ and async/await. It is a single place to look up the syntax you reach for every day, which makes it worth bookmarking.

19 min

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message