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

Antti S. Lankila alankila at bel.fi
Sun Nov 25 08:17:11 EST 2007


Alan McGovern 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>>.
>
> Alan.

Oh. Thanks for enlightening me.

Sorry for troubling you.

-- 
Antti



More information about the Mono-devel-list mailing list