Skip to content

Commit f9c4c88

Browse files
brian-forsRon Petrusha
authored andcommitted
Update how-to-join-content-from-dissimilar-files-linq.md (#9388)
Changed Select statement to match the Output described in comments
1 parent 3b349cd commit f9c4c88

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/visual-basic/programming-guide/concepts/linq/how-to-join-content-from-dissimilar-files-linq.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ Class JoinStrings
7676
From id In scores
7777
Let n2 = id.Split(New Char() {","})
7878
Where Convert.ToInt32(n(2)) = Convert.ToInt32(n2(0))
79-
Select n(0) & "," & n(1) & "," & n2(0) & "," & n2(1) & "," &
80-
n2(2) & "," & n2(3)
79+
Select n(0) & "," & n2(1) & "," & n2(2) & "," & n2(3) & "," & n2(4)
8180
8281
' Pass a query variable to a Sub and execute it there.
8382
' The query itself is unchanged.

0 commit comments

Comments
 (0)