Why does intellisense not warn me I cannot instantiate a list this way?

前端 未结 0 1124
抹茶落季
抹茶落季 2020-11-22 08:50
public class SomeClassWithAList
{
    public List list { get; set; }
}

[Fact]
public void InitListInsideModel()
{
    var cashthing = new SomeClassWithAL         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题