|
|
|
|
|
by neonsunset
702 days ago
|
|
In a strongly typed compiled language, how would you do so (in a type-safe and performant way) only knowing that the type is some IEnumerable<T> implementation and not a particular shape that may or may not adhere to the `T this[int i]` and `.Count //of T` contract? |
|
I'm not well versed on this topic.