DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
foreach index start from at 1 in c#
int i = -1; foreach (Widget w in widgets) { i++; // do something }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#foreach
#index
#start
ADD COMMENT
Topic
COMMENT
Name
2+6 =
Submit