Tag: object dumper

C#对象翻车机

我正在寻找一个类,可以输出一个对象和所有的叶值类似于这样的格式: User – Name: Gordon – Age : 60 – WorkAddress – Street: 10 Downing Street – Town: London – Country: UK – HomeAddresses[0] … – HomeAddresses[1] … (或更清晰的格式)。 这将相当于: public class User { public string Name { get;set; } public int Age { get;set; } public Address WorkAddress { get;set; } public List<Address> HomeAddresses […]