Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created June 20, 2014 20:39
Error orden de clausulas catch.
using System;
namespace Articulos.Cap04
{
public sealed class OrdenCatch
{
public static void Main()
{
object o = null;
try
{
int i = (int) o;
}
catch (Exception e)
{
//...
}
catch (InvalidCastException e)
{
//...
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment