I'm attempting to access to a FeatureLayer in a GropuLayer. I'm looping through layers in the TOC and when getting the IGroupLayer I don't know what to do next.
IMap myMap = ArcMap.Document.ActivatedView.FocusMap;
for (int i = 0; i < myMap.LayerCount; i++)
if (myMap.Layer[i] is IGroupLayer)
IGroupLayer igroup = myMap.Layer[i] as IGroupLayer;
//what to do...