KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Lets say you have a: List<string> los = new List<string>(); In this crazy functional world we live in these days which one of these would be best for creating one string by concatenating these: String.Join(String.Empty, los.ToArray()); StringBuilder builder = new StringBuilder(); los.ForEach(s => builder.Append(s)); string disp = los.Aggregate<string>((a, b) => a + b); or Plain old StringBuilder foreach OR is there a better way?
Tags (comma-separated)
Save Edits
Cancel