What difference between this two type of object initialization

前端 未结 0 1148
你的背包
你的背包 2021-02-13 05:29
public class Person
{
    public string Name { get; set; }
    public int Age { get; set; }
}

And two version of initialize:

  1. var p =
相关标签:
回答
  • 消灭零回复
提交回复
热议问题