C# Strings Cheat Sheet
Aggregating two strings together using LINQ
1 2 3 |
var strings = new[] { "Hello", "World!" }; strings.Aggregate((x,y) => x + ", " + y); // Returns "Hello, World!" |
1 2 3 |
var strings = new[] { "Hello", "World!" }; strings.Aggregate((x,y) => x + ", " + y); // Returns "Hello, World!" |