I have some LINQ code that generates a list of strings, like this:
var data = from a in someOtherList orderby a select FunctionThatReturnsS
Use "Aggregate" like this:
List strings = new List() {"bob", "steve", "jane"}; string result = strings.Aggregate((working, next) => working + next); Console.WriteLine(result);
Note: Aggregate is in the System.Linq namespace as an extension method.