I found a version of VB here, but I would like to use a Lambda expression to take a list of strings, and then add a string to each item in the list.
It seems that using ForEach ends up sending the string by value, so any changes disappear. Here is a line of code that I was hoping to work on.
listOfStrings.ForEach((listItem) => {listItem = listItem.Insert(0,"a");});
source
share