There was an error while loading. Please reload this page.
1 parent 5a86881 commit 923e717Copy full SHA for 923e717
1 file changed
.github/skills/csharp-snippet-modernization/SKILL.md
@@ -51,6 +51,7 @@ Apply these changes when they preserve behavior and sample clarity:
51
- Remove `this.` where it's unnecessary.
52
- Add `using` statements for disposable types, and remove redundant calls to `Close()` or `Dispose()`.
53
- Prune unnecessary package references from project files.
54
+- Use compound assignment.
55
- Replace calls to obsolete APIs with their replacement. For example, replace `WebRequest` with `HttpClient`.
56
57
Don't introduce `var`; this repository prefers explicit types.
0 commit comments