Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
wtetzner
on Nov 19, 2017
|
parent
|
context
|
favorite
| on:
Span<T> in C#
It would be even better if checked was the default, and you had to use an unchecked block to get unchecked arithmetic.
benaadams
on Nov 19, 2017
[–]
Can set it at the project level; then you need to use unchecked instead:
https://docs.microsoft.com/en-us/dotnet/csharp/language-refe...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: