Skip to content

Commit 20672b9

Browse files
Youssef1313Ron Petrusha
authored andcommitted
Swap code samples (#3139)
* Swap code samples * Update SortedSet`1.xml
1 parent 1a26fca commit 20672b9

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

xml/System.Collections.Generic/SortedSet`1.xml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1620,11 +1620,14 @@
16201620
16211621
## Examples
16221622
The following example removes unwanted elements from a sorted set. This code example is part of a larger example provided for the <xref:System.Collections.Generic.SortedSet%601> class.
1623-
1623+
1624+
[!code-csharp[System.Collections.Generic.SortedSet#8](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.collections.generic.sortedset/cs/program.cs#8)]
1625+
[!code-vb[System.Collections.Generic.SortedSet#8](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/vb/program.vb#8)]
1626+
16241627
[!code-csharp[System.Collections.Generic.SortedSet#4](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.collections.generic.sortedset/cs/program.cs#4)]
1625-
[!code-vb[System.Collections.Generic.SortedSet#4](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/vb/program.vb#4)]
1626-
[!code-csharp[System.Collections.Generic.SortedSet#8](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.collections.generic.sortedset/cs/program.cs#8)]
1627-
[!code-vb[System.Collections.Generic.SortedSet#8](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/vb/program.vb#8)]
1628+
[!code-vb[System.Collections.Generic.SortedSet#4](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/vb/program.vb#4)]
1629+
1630+
16281631
16291632
]]></format>
16301633
</remarks>

0 commit comments

Comments
 (0)