例如
var hello = new { Hello = "Hello" }; var world = new { World = "World" }; var helloWorld = hello + world; Console.WriteLine(helloWorld.ToString()); //outputs {Hello = Hello, World = World}
有没有办法让这项工作?
c# types anonymous
anonymous ×1
c# ×1
types ×1