I have a List strings and each value has a leading quote that needs to be removed. Now there could be quotes further down the string and those will need to stay.
List<string> strings = new List<string>();
strings.Add("'Value1");
strings.Add("'Values2 This 2nd ' should stay");
Is there a linq way?
EDIT by Olivier Jacot-Descombes (it demonstrates that this solution does not work):
This produces the following output on the console: