How do you replace an element in a Linked list in C#? While in java either can use set or add method to replace a particular element in the list... I can´t find how do I replace it in C#.
Replace value 2 with 3:
LinkedList<int> ll;
ll.Find(2).Value = 3;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With