C# Which enumerates faster?

Posted by Nullstr1ng on Stack Overflow See other posts from Stack Overflow or by Nullstr1ng
Published on 2010-05-13T18:03:06Z Indexed on 2010/05/13 18:14 UTC
Read the original article Hit count: 234

Hi Guys,

I just thought I ask if which enumerates faster.

for(;;) {}
foreach() {}
while() {}
anymore you want to add would be fine

update: C# Language

© Stack Overflow or respective owner

Related posts about for-loop

Related posts about while-loops