2 ms·
You can cast to plain IList and it works as expected. You can even use Add on it. https://dotnetfiddle.net/jcjchk https://dotnetfiddle.net/jcjchk
by jimmaswell 8y ago
You can cast to plain IList and it works as expected. You can even use Add on it.
https://dotnetfiddle.net/jcjchk https://dotnetfiddle.net/jcjchk
- lazulicurio 8y agoRight, but again, it means you're implementing two separate interfaces. You can implement IList without implementing IList<T>, and you can implement IList<T> without implementing IList.