Replace string values in list
You have a few issues here: first, strings are immutable, so when you call .Replace you return a new string. Calling n.Replace doesn’t modify n. assigning to n in your anonymous function won’t affect the value that’s in your list. regardless of the above, you can’t change the content of your collection while enumerating it, … Read more