fork(2) download
  1. using System;
  2. using System.Collections;
  3.  
  4. namespace Articulos.Cap04.Excepciones.Parte5
  5. {
  6. public sealed class UsoOverflowException
  7. {
  8. public static void Main()
  9. {
  10. checked
  11. {
  12. int suma = Int32.MaxValue + Int32.Parse("1");
  13. }
  14. }
  15. }
  16. }
Runtime error #stdin #stdout #stderr 0.02s 36256KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Unhandled Exception: System.OverflowException: Number overflow.
  at Articulos.Cap04.Excepciones.Parte5.UsoOverflowException.Main () [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.OverflowException: Number overflow.
  at Articulos.Cap04.Excepciones.Parte5.UsoOverflowException.Main () [0x00000] in <filename unknown>:0