Skip to content

Commit bc991a9

Browse files
authored
Update source.cs (dotnet#5216)
small typo on line 126
1 parent 8ab242c commit bc991a9

File tree

1 file changed

+2
-2
lines changed
  • samples/snippets/csharp/VS_Snippets_CLR/Generic.LinkedList/cs

1 file changed

+2
-2
lines changed

samples/snippets/csharp/VS_Snippets_CLR/Generic.LinkedList/cs/source.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public static void Main()
123123
Console.WriteLine("Test 16: Copy the list to an array:");
124124
//<Snippet10>
125125
// Create an array with the same number of
126-
// elements as the inked list.
126+
// elements as the linked list.
127127
string[] sArray = new string[sentence.Count];
128128
sentence.CopyTo(sArray, 0);
129129

@@ -250,4 +250,4 @@ private static void IndicateNode(LinkedListNode<string> node, string test)
250250

251251
//Test 17: Clear linked list. Contains 'jumps' = False
252252
//
253-
// </Snippet1>
253+
// </Snippet1>

0 commit comments

Comments
 (0)