IEnumerable as return type
This is really a two part question. 1) Is there inherently anything wrong with returning an IEnumerable<T> No nothing at all. In fact if you are using C# iterators this is the expected behavior. Converting it to a List<T> or another collection class pre-emptively is not a good idea. Doing so is making an assumption … Read more