Using C# how do I replace an item text in a string array if I don\'t know the position?
My array is [berlin, london, paris] how do I replace paris with new york?
You could also do it like this:
arr = arr.Select(s => s.Replace("paris", "new york")).ToArray();