Merge pull request #7744 from KirkMunro/patch-5

Fixed highlighted line numbers
pull/7754/head
Scott Addie 2018-07-23 10:06:58 -05:00 committed by GitHub
commit f07f26c279
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ Refresh the page and select an instructor. Select a course to see the list of en
The `Single` method can pass in the `Where` condition instead of calling the `Where` method separately:
[!code-csharp[](intro/samples/cu/Pages/Instructors/IndexSingle.cshtml.cs?name=snippet_single&highlight=21,28-29)]
[!code-csharp[](intro/samples/cu/Pages/Instructors/IndexSingle.cshtml.cs?name=snippet_single&highlight=21-22,30-31)]
The preceding `Single` approach provides no benefits over using `Where`. Some developers prefer the `Single` approach style.