I\'m trying to cycle through strings in a list with a foreach loop, but I don\'t know how to change the item that\'s being referenced - How can I change s in the li
s
Try this
List listString = new List() { "1","2","3"}; listString=listString.Select(x => x + "-").ToList();