Recently I've hit a problem with collections in C#. Given classes
class A {}
class B {}
And two collections Collection<A> and Collection<B> it's possible to concat
them into an array A[]. The efficient way to do it is to use CopyTo(T[],int)
method, but it accepts only array of exact collection item's type, so I had to
change the Collection<B> type to Collection<A>.
- Re: To interface or not to ... Michel Fortin
- Re: To interface or not to interface Jason House
- Re: To interface or not to interface Walter Bright
- Re: To interface or not to interface Jason House
- Re: To interface or not to interface Steven Schveighoffer
- Re: To interface or not to interface Walter Bright
- Re: To interface or not to inte... Jason House
- Re: To interface or not to ... Walter Bright
- Re: To interface or not to interface Marianne Gagnon
- Re: To interface or not to interface Bruno Medeiros
- Re: To interface or not to interface Kagamin
- Re: To interface or not to interface Steven Schveighoffer
- Re: To interface or not to interface Kagamin
