Skip to content

Commit

Permalink
Update csharp.md (#9430)
Browse files Browse the repository at this point in the history
Removed semicolon after property declaration
  • Loading branch information
DimucaTheDev authored Jul 30, 2024
1 parent a6569a1 commit c30961d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release-notes/9.0/preview/preview6/csharp.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
{
Expand All @@ -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).
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).

0 comments on commit c30961d

Please sign in to comment.