I have this List of strings:
List<string> result = new List<string>();
result.Add("dummy1");
result.Add("dummy2");
result.Add("dummy3");
result.Add("dummy4");
I want to change items in result variable to add some string posfix:
result[0]("dummy1-aaa");
result[1]("dummy2-aaa");
result[2]("dummy3-aaa");
result[3]("dummy4-aaa");
I know that I can use for loop iterate on result variable and put new string to the item.
But my question is how can I change it using LINQ to object?