Created
July 29, 2014 05:06
-
-
Save Fhernd/ffcf6649f32f9e1e96aa to your computer and use it in GitHub Desktop.
Demostración del uso de la excepción UsoOverflowException.
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
using System; | |
using System.Collections; | |
namespace Articulos.Cap04.Excepciones.Parte5 | |
{ | |
public sealed class UsoOverflowException | |
{ | |
public static void Main() | |
{ | |
checked | |
{ | |
int suma = Int32.MaxValue + Int32.Parse("1"); | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment