Alternating sum

Given that the number 2008 is the correct answer to a sum, can you find n?

Problem



Given that the number 2008 is the correct answer to the calculation below, what is $n?$$$1-2+3-4+5-6+...+(n-2)-(n-1)+n$$