Skip to content

Commit 73ee782

Browse files
Update ConversionExamples.cs (#46796)
1 parent 791eabd commit 73ee782

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/csharp/linq/standard-query-operators/snippets/standard-query-operators/ConversionExamples.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ private static void CastExampleQuery()
1717
// <CastOperatorQuerySyntax>
1818
IEnumerable people = students;
1919

20-
var query = from Student student in students
20+
var query = from Student student in people
2121
where student.Year == GradeLevel.ThirdYear
2222
select student;
2323

0 commit comments

Comments
 (0)