IEnumerable has no properties, but IEnumerable returns an IEnumerator, as you know.
If your object provides a property that is of type IEnumerable, it is expected that it will return in constant time, but an enumeration of this enumerator should probably have no expectations .
Of course, your situation may change . For example, if you bind some WPF control to this enumerated, your users will want it to return quickly.
agent-j
source share