Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Examples have non-recommend value

未关闭 适合新手
#54,202 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
1/5
预计耗时
1-3 小时
新手友好度
70/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
冷清
技术栈
csharp
领域
documentation

调研方向

从 docs/csharp/language-reference/configure-language-version.md 开始,检查 示例以及有关 latest 和 preview 值的指导。对于文章不推荐使用 preview 的示例,更新这些示例,然后验证示例是否始终与周围的建议一致。

由索引模型根据 Issue 内容生成。

描述

dotnet-csharp/svc lang-reference/subsvc
Type of issue

Other (describe below)

Description

<LangVersion> examples should not be set to preview when it's not recommended to use latests or preview.

Don't set the LangVersion element to latest. The latest setting means the installed compiler uses its latest version. The value of latest can change from machine to machine, making builds unreliable. In addition, it enables language features that might require runtime or library features not included in the current SDK.

Page URL

https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/configure-language-version

Content source URL

https://github.com/dotnet/docs/blob/main/docs/csharp/language-reference/configure-language-version.md

Document Version Independent Id

3f01c378-22e4-197c-a862-ab4a924506c7

Platform Id

cdf11e08-8e9a-84aa-affe-8a392bed026a

Article author

@BillWagner

Metadata
  • ID: 5694e62b-c756-1f62-4014-2ceafa54c011
  • PlatformId: cdf11e08-8e9a-84aa-affe-8a392bed026a
  • Service: dotnet-csharp
  • Sub-service: lang-reference

Related Issues

主要语言
没有语言数据
星标
4.8k
派生
6.1k
平均合并
1 天 1 小时
30 天内合并 PR
215

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

dotnet/docs 的其他 Issue

查看 dotnet/docs 的全部 Issue

相似的 Issue

更多 Documentation Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。