diff --git "a/\347\254\25411\347\253\240 C#\347\232\204\346\225\260\346\215\256\347\273\223\346\236\204/CSharpLinkedList/Program.cs" "b/\347\254\25411\347\253\240 C#\347\232\204\346\225\260\346\215\256\347\273\223\346\236\204/CSharpLinkedList/Program.cs" index 678eacb..df144b5 100644 --- "a/\347\254\25411\347\253\240 C#\347\232\204\346\225\260\346\215\256\347\273\223\346\236\204/CSharpLinkedList/Program.cs" +++ "b/\347\254\25411\347\253\240 C#\347\232\204\346\225\260\346\215\256\347\273\223\346\236\204/CSharpLinkedList/Program.cs" @@ -177,7 +177,7 @@ public void AddLast(T value) //在某个节点前面插入一个值 public void AddBefore(CSharpLinkedListNode node, CSharpLinkedListNode newNode) { - InsertNodeBefore(node, node); + InsertNodeBefore(node, newNode); //设置头节点 if (node == head)