Skip to content

Commit b1881ab

Browse files
authored
Remove an incorrect negation (#42873)
Fixes #42870
1 parent 8dd1c79 commit b1881ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/csharp/linq/standard-query-operators/set-operations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ The following example depicts the behavior of <xref:System.Linq.Enumerable.Inter
5858

5959
:::code language="csharp" source="./snippets/standard-query-operators/SetOperations.cs" id="Intersect":::
6060

61-
The <xref:System.Linq.Enumerable.IntersectBy%2A> method is an alternative approach to `Intersect` that takes two sequences of possibly heterogenous types and a `keySelector`. The `keySelector` is used as the comparative discriminator of the second collection's type. Consider the following student and teacher arrays. The query matches items in each sequence by name to find those students who aren't also teachers:
61+
The <xref:System.Linq.Enumerable.IntersectBy%2A> method is an alternative approach to `Intersect` that takes two sequences of possibly heterogenous types and a `keySelector`. The `keySelector` is used as the comparative discriminator of the second collection's type. Consider the following student and teacher arrays. The query matches items in each sequence by name to find those students who are also teachers:
6262

6363
:::code language="csharp" source="./snippets/standard-query-operators/SetOperations.cs" id="IntersectBy":::
6464

0 commit comments

Comments
 (0)