I have a foreach which calls a method to get its collection.
foreach(var item in GetItemDetails(item))
{
}
Visual studio doesn't complain about this, nor does Resharper, however, before I continue to use this approach, I want to reach out and check if it is a recommended approach.