exercism / exercism/csharp

introduce compound assignments for mathematical operators

未关闭
#1,458 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C#
星标
427
派生
383
平均合并
2 天 2 小时
30 天内合并 PR
5

描述

The `flag-enums` exercise introduces the concepts of _compound assignments_ and has the following in its `after.md` file:

> The bitwise operators can also be used as [compound assignments][compound-assignment], which are a shorthand notation where `x = op y` can be written as `x op= y`:

We should introduce compound assignment in the `numbers` exercise's `after.md` document instead (the above text can remain in the `flag-enums` `after.md` file). In the `after.md` document of the `numbers` exercise, we should introduce compound assignments and use the ones with mathematical operators like `+=`, `-=`, etc as examples.

Furthermore, the `compound-assignment` concept in the `languages/csharp/config.json` file should be moved from the `flag-enums` exercise to the `numbers` exercise.

edit: updated

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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