Is there a way to concact C# anonymous types?
- by Matthew T.
For example
var hello = new { Hello = "Hello" };
var world = new { World = "World" };
var helloWorld = hello + world;
Console.WriteLine(helloWorld.ToString());
//outputs {Hello = Hello, World = World}
Is there any way to make this work?