sestoft / C5

C5 generic collection library for C#/.NET
http://www.itu.dk/research/c5/
MIT License
1.03k stars 181 forks source link

IIndexed<T> implements IReadOnlyList<T> #32

Closed hickford closed 8 years ago

hickford commented 9 years ago

Fixes #31

Needs work not to break .NET 4 build (IReadOnlyList didn't exist)

hickford commented 9 years ago

Suggestions welcome

jogibear9988 commented 9 years ago

How about adding a Conditional Compilation Option for the .Net 4 build, add the IreadonlyList only when compiled with .Net 4.5! Or add a own Ireadonlylist interface in the .net 4 project

ondfisk commented 8 years ago

I have created a new .NET 4.5 project where IIndexed now implements IReadOnlyList. Will publish a new NuGet package later today. Thanks :)