Skip to content

Instantly share code, notes, and snippets.

@EifelMono
Created July 22, 2020 09:15
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 EifelMono/49f25d1b59fc9b797f78114b8bdd5b39 to your computer and use it in GitHub Desktop.
Save EifelMono/49f25d1b59fc9b797f78114b8bdd5b39 to your computer and use it in GitHub Desktop.
using System;
namespace NiceExceptionName
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
M(null);
}
static void M(Action a)
{
try
{
a();
}
catch (Exception ಠ_ಠ)
{
System.Console.WriteLine(ಠ_ಠ);
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment