正常的实例化对象。 假设构造方法已经写好!!! Dog d = new Dog(); Dog d2 = new Dog("lily", 12); C# 9.0新语法 Dog d = new Dog{"lily", 12};