在ASP.NET中, 下列关于匿名类正确的是()

A.List<Student> list=new{Id=1, Name=张三} B.var stu=new Student{Id=1, Name=张三} C.var stu=new {Id=1, Name=张三} D.public class var{ }

时间:2024-06-21 17:33:24

相似题目