From 1622146f81afa24dd399edf662264e923c9f7484 Mon Sep 17 00:00:00 2001 From: Dmitrii <74795935+DimucaTheDev@users.noreply.github.com> Date: Thu, 25 Jul 2024 23:09:19 +0300 Subject: [PATCH] Update csharp.md Removed semicolon after property declaration --- release-notes/9.0/preview/preview6/csharp.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release-notes/9.0/preview/preview6/csharp.md b/release-notes/9.0/preview/preview6/csharp.md index f53385238f..0990c98aa6 100644 --- a/release-notes/9.0/preview/preview6/csharp.md +++ b/release-notes/9.0/preview/preview6/csharp.md @@ -32,7 +32,7 @@ The Regex source generator has been updated and if you prefer to use a property, ```csharp [GeneratedRegex("abc|def")] -private static partial Regex AbcOrDefProperty { get; }; +private static partial Regex AbcOrDefProperty { get; } if (AbcOrDefProperty.IsMatch(text)) { @@ -44,4 +44,4 @@ Partial properties will make it easier for source generator designers to create ## Get started with C# 13 -There are a lot more features in C# 13 for you to try today. Be sure to read our recent [blog on all of the features available](https://devblogs.microsoft.com/dotnet/csharp-13-explore-preview-features) in preview and our always up to date documentation on [What's new in C# 13](https://learn.microsoft.com/dotnet/csharp/whats-new/csharp-13). \ No newline at end of file +There are a lot more features in C# 13 for you to try today. Be sure to read our recent [blog on all of the features available](https://devblogs.microsoft.com/dotnet/csharp-13-explore-preview-features) in preview and our always up to date documentation on [What's new in C# 13](https://learn.microsoft.com/dotnet/csharp/whats-new/csharp-13).