Skip to content

Static instance parameters #48056

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 21 commits into from
Aug 21, 2025
Merged

Conversation

bigboybamo
Copy link
Contributor

@bigboybamo bigboybamo commented Aug 21, 2025

Summary

Update the article to state that classes can have both instance and static parameterless constructors.

Fixes #47973


Internal previews

📄 File 🔗 Preview link
docs/csharp/programming-guide/classes-and-structs/constructors.md docs/csharp/programming-guide/classes-and-structs/constructors

@bigboybamo bigboybamo requested review from BillWagner and a team as code owners August 21, 2025 10:04
@dotnetrepoman dotnetrepoman bot added this to the August 2025 milestone Aug 21, 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 Aug 21, 2025
@bigboybamo
Copy link
Contributor Author

@BillWagner Pls help review this PR for the fix

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.

This LGTM @bigboybamo

I'll :shipit: now.

@BillWagner BillWagner merged commit 12dcd61 into dotnet:main Aug 21, 2025
12 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.

static and instance parameterless constructors
2 participants