Skip to content

Conversation

@Xulei-NL
Copy link
Contributor

Summary

Refactor the first static constructor example to demonstrate we can initialize static fields in two ways.

For more information about the discussion between me and Bill, see #50089.

Fixes #50089

@Xulei-NL Xulei-NL requested review from a team and BillWagner as code owners November 25, 2025 19:48
@dotnetrepoman dotnetrepoman bot added this to the November 2025 milestone Nov 25, 2025
@dotnet-policy-service dotnet-policy-service bot added dotnet-csharp/svc fundamentals/subsvc community-contribution Indicates PR is created by someone from the .NET community. labels Nov 25, 2025
Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Xulei-NL

This LGTM, and I'll :shipit: now.

You should see the changes on the live site in the next day or two, on our regular publishing cycle. 🎆

@BillWagner BillWagner enabled auto-merge (squash) November 26, 2025 15:45
@BillWagner BillWagner merged commit f1170ba into dotnet:main Nov 26, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Indicates PR is created by someone from the .NET community. dotnet-csharp/svc fundamentals/subsvc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The code example doesn't reflect the text description.

2 participants