2 ms·
You can write good collection libraries entirely without inheritance, just use interfaces instead.
by username90 7y ago
You can write good collection libraries entirely without inheritance, just use interfaces instead.
- jayd16 7y agoBut you'd still want inheritance in your interfaces even if you didn't rely on base classes that much. IList is an ICollection and an IEnumerable in C# for example.