I have an ICollection called foos in my class which I want to expose as read-only (see this question). I see that the interface defines a
ICollection
foos
Return a T[]:
private ICollection items; public T[] Items { get { return new List(items).ToArray(); } }