Foreach can throw an InvalidCastException?

后端 未结 3 2069
我在风中等你
我在风中等你 2020-12-03 10:47

Imagine the following code:

class foreach_convert
{
    public static void method2()
    {
        List x = new List();         


        
3条回答
提交回复
热议问题