Skip to content
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

static examples #45642

Merged
merged 16 commits into from
Apr 7, 2025
Merged

static examples #45642

merged 16 commits into from
Apr 7, 2025

Conversation

bigboybamo
Copy link
Contributor

@bigboybamo bigboybamo commented Apr 5, 2025

Summary

Fixes #45632
Include use of Static keyword for local functions and lambda expressions


Internal previews

📄 File 🔗 Preview link
docs/csharp/language-reference/keywords/static.md docs/csharp/language-reference/keywords/static

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 again @bigboybamo

This LGTM, and I'll :shipit: as soon as the build finishes.

@BillWagner BillWagner enabled auto-merge (squash) April 7, 2025 15:23
@BillWagner
Copy link
Member

Hi @bigboybamo

It looks like the project file in the snippet folder needs to be updated to use the latest version of .NET (.NET 9). That will fix the build errors.

Update Target Framework
auto-merge was automatically disabled April 7, 2025 15:40

Head branch was pushed to by a user without write access

@bigboybamo
Copy link
Contributor Author

@BillWagner I've updated the target framework now

@BillWagner BillWagner merged commit 342094d into dotnet:main Apr 7, 2025
8 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 lang-reference/subsvc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The static keyword page should include the use of static for local functions and lambda expressions
2 participants