Skip to content

Commit 923e717

Browse files
authored
Update SKILL.md
1 parent 5a86881 commit 923e717

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • .github/skills/csharp-snippet-modernization

.github/skills/csharp-snippet-modernization/SKILL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ Apply these changes when they preserve behavior and sample clarity:
5151
- Remove `this.` where it's unnecessary.
5252
- Add `using` statements for disposable types, and remove redundant calls to `Close()` or `Dispose()`.
5353
- Prune unnecessary package references from project files.
54+
- Use compound assignment.
5455
- Replace calls to obsolete APIs with their replacement. For example, replace `WebRequest` with `HttpClient`.
5556

5657
Don't introduce `var`; this repository prefers explicit types.

0 commit comments

Comments
 (0)