LinkedList shall implement IList
I read some arguments about the contrary. Java lives pretty well with it. LinkedList<T> shall be an IList<T>. I'm in the camp of those who think that implementing an interface don't means that all Methods/Properties shall be perfect for every implementation.
https://gist.github.com/formix/a079874d266ec389ae88cf92eefc4871
You can disagree but you can't say that it doesn't work. I still don't understand why the .NET team did not fix that in the latest versions, especially in .NET Standard specifications.
0 comments:
Post a Comment