Need some help!!

I went trying out my LED by connecting it to the 5V and the ground pin ( 2k ohm resistor is also present ). Suddenly, the LED was just flickering and died out. I was running one of my self-programmed 'reset' mode below. But how come this could happen?

void setup()
{
;
}

void loop()
{
;
}

What are the chances of two people having the same problem?
Amazing.

thats actually me..........

Irritating, isn't it, wasting time?