static void SequentialFor() {
Stopwatch sw = Stopwatch.StartNew();
for (int index = 0; index < 10 0; index++) {
	ProcessData(index);
}
long elapsed = sw.ElapsedMilliseconds;
Console.WriteLine("Sekvenn cyklus for: {0} milisekund.", elapsed);
}

static void ParallelFor() {
Stopwatch sw = Stopwatch.StartNew();
Parallel.For(0, 100, (index) => {
	ProcessData(index);
});
long elapsed = sw.ElapsedMilliseconds;
Console.WriteLine("Paraleln cyklus for: {0} milisekund.", elapsed);
}
