Jump to content
  • entries
    4
  • comments
    6
  • views
    2,714

I will implement this code one day


Celtore

943 views

using System;class Derp{    static int Main(string[] args)    {        try        {            if(true)            {                Exception ex = new Exception("DERP");                /*                    Look at this .NET, that I just found!                    When I say go, be ready to throw!                    Go!                */                throw ex;            }            ...        }        catch (Exception)        {            //Ugh, lets try something else...            return -1;        }        return 0;    }}


Pointless, but kind of a fun idea. I like it more than "Let it throw."

  • Brohoof 1

2 Comments


Recommended Comments

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Join the herd!

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...