C# equivalent of Java's “new List<? extends MyClass>” and “new List<? super MyClass>”?

前端 未结 0 885
执念已碎
执念已碎 2021-01-16 16:52

In Java, when you create a variable with a generic type, you can do new List if you what that all elements of the list to be an extensi

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