using System.Collections.Generic;
static IEnumerable<List<MyObj>> Get()
yield return new List<MyObj>();
yield return new List<MyObj>();
IEnumerable<List<MyObj>> myObjGroups = Get();
var result = myObjGroups.Cast<IEnumerable<IMyInterface>>();
foreach(var val in result)
Console.WriteLine(val.Count());
public interface IMyInterface
public class MyObj : IMyInterface
throw new NotImplementedException();