modern-csharp-coding-standards · AI Skill 用途与安装 · iSkills.cc

用 C# 现代特性(record、async、Span<T>)编写高性能代码,遵循函数式编程风格。

分类:编程开发

来源仓库:aaronontheweb/dotnet-skills

适合用来做什么

  • 使用C# 12的特性重写这个函数
  • 如何在C#中实现模式匹配来处理这个逻辑

不适合的情况

  • for entities, aggregates, DTOs with multiple properties - `record struct`: Value types, use for value objects (see next section) ### Value Objects as readonly record struct Value objects shoul

安装 modern-csharp-coding-standards

npx skills add https://www.iskills.cc/skills/aaronontheweb/dotnet-skills/modern-csharp-coding-standards/SKILL.md

在本机终端执行安装命令。安装前请阅读原始说明,确认所需工具、账号和权限。

查看安装步骤 · 查看常见问题