If you have an object in .Net, it must be of a certain type, it cannot be an interface. So, for example, it is new IList<int>()invalid, you should do something like new List<int>().
If you have a variable, the type can be an interface, so you can write, for example IList<int> list = new List<int>().
, . grouped IEnumerable<IGrouping<string,Fruit>> ( , var). , , - GroupedEnumerable<Fruit, string, Fruit>, , GroupBy(). IEnumerable, .
Visual Studio , : .