Skip to content

Commit 7f27b7e

Browse files
dsychinBillWagner
authored andcommitted
update yield parameter name (#1622)
1 parent c303d35 commit 7f27b7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

snippets/csharp/tour/statements/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,9 @@ static void ReturnStatement(string[] args)
138138
return;
139139
}
140140

141-
static System.Collections.Generic.IEnumerable<int> Range(int from, int to)
141+
static System.Collections.Generic.IEnumerable<int> Range(int start, int end)
142142
{
143-
for (int i = from; i < to; i++)
143+
for (int i = start; i < end; i++)
144144
{
145145
yield return i;
146146
}

0 commit comments

Comments
 (0)