【发布时间】:2017-06-22 21:55:34
【问题描述】:
错误 45 'System.Collections.Generic.List(Of String)' 不能 转换为“System.Collections.Generic.List(Of Object)”。考虑 使用'System.Collections.Generic.IEnumerable(对象)' 反而。 H:\business\shared\Dropbox\vb.net\proxyhandler.vb 198 19 nicehash2
这是我得到的错误。替换
System.Collections.Generic.List(Of Object)
与
System.Collections.Generic.IEnumerable(Of Object)
解决问题。
我知道第二种类型是接口。我还是一头雾水。
但是为什么呢?
【问题讨论】: