Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It would be even better if checked was the default, and you had to use an unchecked block to get unchecked arithmetic.


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: