title: Update value of a Node in a Linked List in C#
body: <p>I 've tried Linked list operations. And I'm able to add/ remove Node s in the list. But I'm unable to update a value of a Node in the List. </p>
  
  <p>I have removed the current Node's value. So when I remove the value, will the node also removed?? or if the Node is still available Can I update the value of that. </p>
  
  <p>Here is my Code</p>
  
  <pre><code>static void Main(string[] args)
  {
      string[] words = { "the", "fox", "jumped", "over", "the", "dog" };
      LinkedList&lt;string&gt; sentence = new LinkedList&lt;string&gt;(words);
  
     // sentence.RemoveFirst();
      sentence.AddFirst("today");
      LinkedListNode&lt;string&gt; current = sentence.Find("jumped");
      sentence.AddAfter(current, "XXX");
  
      LinkedListNode&lt;string&gt; mark1 = current.Previous;
      sentence.AddAfter(mark1, "ZZZ");
      sentence.Remove(current.Value);
      // I have removed the current's value
  
      foreach (string s in sentence)
      {
          Console.WriteLine(s);
      }
  
      Console.ReadLine();
  }
  </code></pre>