Created
December 12, 2019 10:18
-
-
Save DavidKlempfner/05bc01c4b86927366b53d2c0c78fa267 to your computer and use it in GitHub Desktop.
CIL1.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
checked | |
{ | |
byte b = byte.MaxValue; //255 | |
b += 1; //OverflowException here | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment