Last active
December 19, 2015 01:29
-
-
Save jonpryor/5876584 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
$ csharp | |
Mono C# Shell, type "help;" for help | |
Enter statements below. | |
csharp> v.GetType().FullName; | |
"System.Int16" | |
csharp> v += 1; | |
csharp> v.GetType().FullName; | |
"System.Int32" | |
csharp> v = int.MaxValue; | |
csharp> v.GetType().FullName; | |
"System.Int32" | |
csharp> v += 1; | |
csharp> v.GetType().FullName; | |
"System.Int32" | |
csharp> v; | |
-2147483648 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment