Here is a collection of puns that only a C# programmer could appreciate:

  • abstract art gallery() { … }
  • bool me_over;
  • byte me;
  • c++;
  • case in_point:
  • char broiled;
  • class action { … };
  • const int pressure;
  • Convert.ToString( hemp );
  • decimal results;
  • double jeopardy;
  • Exception taken;
  • event handling;
  • for (score = 20; years == 7; ) { … }
  • foreach (hot chick in this.room) { flirt(); }
  • float valve;
  • Graphics ex;
  • int erupt;
  • lock (this.up) { … }
  • long john_silver;
  • long walk(short pier) { … }
  • object strongly;
  • override your objection() { … }
  • private property keep_out() { … }
  • protected free speech() { … }
  • public display of_affection() { … }
  • return to_sender;
  • short circuit;
  • sizeof (the_situation);
  • static cling free() { … }
  • string cheese;
  • struct by_lightning { … };
  • take a; break;
  • throw up;
  • typeof (writer);
  • uint rested;
  • ulong for_love;
  • unsafe { at any = speed; }
  • using your.brain;
  • virtual void in_my_heart() { … }
  • void where_prohibited() { … }
  • while (e_coyote) { … }

And for the grand finale:

    struct SoftwareConsultant {
        double   salary;
        long     lunches;
        float    jobs;
        char     unstable;
        void     work;
        int      hiring_him_again;
        const    pain_in_the_backside;
        unsigned agreement;
        short    fuse;
        volatile personality;
        static   progress;
    };
    /* and there are no unions in sight */

Source: Some original, some from here and here.

Share and Enjoy:
  • Digg
  • Twitter
  • Facebook
  • Reddit
  • StumbleUpon
  • LinkedIn
  • Google Bookmarks
  • Slashdot