candoumbe / candoumbe/Candoumbe.Types
✨ `++` operator for `NonNegativeLong` type
Open
area: numerics
enhancement
- Dominant language
- C#
- Stars
- 2
- Forks
- 0
- Avg merge
- 59m
- Merged PRs (30d)
- 11
Description
**Is your feature request related to a problem? Please describe.**
With the upcoming release of `net10.0` and `C#14`, we could be able to implement overload for `++` operator on any type.
**Describe the solution you'd like**
The `++` operator on `NonNegativeiLong` should increment any `NonNegativeLong` value so that
```csharp
NonNegativeLong value = 0;
value = value++;
Console.WriteLine(value) // <= value should be equal to 1
```
**Describe alternatives you've considered**
N/A
**Additional context**
N/A
Contributor guide
Assessment
This issue has not been assessed yet.