Showing results for C# - .NET Blog

May 12, 2022
38
6

Regular Expression Improvements in .NET 7

Stephen Toub - MSFT
Stephen Toub - MSFT

System.Text.RegularExpressions has improved significantly in .NET 7. In this post, we'll deep-dive into many of its exciting improvements.

.NETC#Visual Studio
Apr 18, 2022
45
2

C# 11 Preview Updates – Raw string literals, UTF-8 and more!

Kathleen Dollard
Kathleen Dollard

C# 11 features are coming along nicely and the most recent release features all sorts of goodies including updates to string literals, pattern matching, checked user-defined operators, and an update on !!.

C#.NET.NET Core
Feb 22, 2022
99
3

Early peek at C# 11 features

Kathleen Dollard
Kathleen Dollard

Learn about the C# 11 preview features you can try out in Visual Studio 17.1 and .NET SDK 6.0.200!

C#.NETVisual Studio
Feb 17, 2022
30
0

Announcing .NET 7 Preview 1

Jeremy Likness
Jeremy Likness

.NET 7 Preview 1 is now available and is the start of a major .NET release, focused on cloud native, app modernization, containers, and many other improvements.

.NETC#
Nov 8, 2021
22
4

Welcome to C# 10

Kathleen Dollard
Kathleen Dollard

Check out the great new features in C# 10 as part of .NET 6 and Visual Studio 2022, that make your code prettier, more expressive, and faster.

.NETC#
Aug 18, 2021
31
1

Understanding the cost of C# delegates

Paulo Morgado
Paulo Morgado

Delegates are widely used in C# (and .NET, in general), but it's not always obvious to the developer what code they write ends up generating. In this post, I'll show the various forms to make you aware of their costs.

.NETC#.NET Internals
Aug 10, 2021
54
2

Preview Features in .NET 6 – Generic Math

Tanner Gooding [MSFT]
Tanner Gooding [MSFT]

If you’ve ever wanted to use operators with generic types or thought that interfaces could be improved by supporting the ability to define static methods as part of their contract, then this blog post is for you. With .NET 6 we will be shipping a preview of the new generic math and static abstracts in interfaces features.

.NETC#.NET Internals
Aug 10, 2021
41
2

String Interpolation in C# 10 and .NET 6

Stephen Toub - MSFT
Stephen Toub - MSFT

Text processing is at the heart of huge numbers of apps and services, and in .NET, that means lots and lots of . creation is so fundamental that a myriad of ways of creating them have existed since .NET Framework 1.0 was released, and more have joined the fray since. Whether via 's constructors, or , or overrides, or helper methods on like or ...

.NETC#Performance

Feedback