Skip to content

Instantly share code, notes, and snippets.

@ptrelford
Created January 31, 2017 20:50
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 ptrelford/d08a80345e12b83b060c3a0fcc8f6ee9 to your computer and use it in GitHub Desktop.
Save ptrelford/d08a80345e12b83b060c3a0fcc8f6ee9 to your computer and use it in GitHub Desktop.
using System;
using static Exceptions;
class MainClass
{
public static void Main(string[] args)
{
throw NRE;
}
}
public class Exceptions
{
public static NullReferenceException NRE = new NullReferenceException();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment