C# Casting a List as List

前端 未结 11 1588
小鲜肉
小鲜肉 2020-12-09 15:35

Why can I not cast a List as List? Why does the following not work:

internal class ObjBase
   {
   }

int         


        
11条回答
  •  渐次进展
    2020-12-09 16:13

    Please look at the following questions:

    .NET Casting Generic List

    Why does this generic cast fail?

提交回复
热议问题