[Mono-dev] System.Collections.Generic.Dictionary.CopyTo inaccessible due to protection level

Leszek Ciesielski skolima at gmail.com
Sun Nov 25 08:16:42 EST 2007

On Nov 25, 2007 2:14 PM, Alan McGovern <alan.mcgovern at gmail.com> wrote:
> Thats invalid code. If you want to access the 'CopyTo' method, you have to
> cast the dictionary<string, object> as an ICollection<KeyValuePair<string,
> object>>.

As MSDN states:


This is explicit implementation.

More information about the Mono-devel-list mailing list