Wednesday, March 31, 2010

A Programmer's Bane

i found a rather amusing bit of code someone wrote :D

myClass test = new test();
test = null;

if(test == null)
{
System.Windows.Forms.MessageBox.Show("I am an idiot");
}

No comments:

Post a Comment