Thread
:
count iteration in a foreach
View Single Post
12-01-2007, 10:45 PM
#
2
(
permalink
)
Fog
Registered User
Join Date: Feb 2006
Posts: 1,657
+5 Internets
Quote:
Originally Posted by
PigBenis
hey guys is there anyway to get the iteration number in a foreach loop in C# without having to create another variable?
No. Use for.
Last edited by Fog : 12-01-2007 at
10:47 PM
.
Fog
View Public Profile
Find More Posts by Fog