Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created July 29, 2014 05:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Fhernd/ffcf6649f32f9e1e96aa to your computer and use it in GitHub Desktop.
Save Fhernd/ffcf6649f32f9e1e96aa to your computer and use it in GitHub Desktop.
Demostración del uso de la excepción UsoOverflowException.
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