With a little bit of Google search you could have found an answer to your question. But anyways,
int loopCount = 5000;
for (int i = 0; i < loopCount; i++)
{
}
-OR-
int counter = 0;
while (counter != loopCount)
{
counter++;
}
For more info on the loops check these links:
Loops Tutorial 1[
^]
Loops Tutorial 2[
^]
Good luck,
OI