Can someone give me some code about spatial query like this?

Discussion created by kjulistened on Oct 21, 2013
Latest reply on Oct 22, 2013 by kjulistened
I would like to query Feature in a specified layer that intersects the specified Feature.For example, I would like to query all of the roads that intersect my specified lake.
As the figure below,The load "1,2,3" all intersect with lake "0",so they should be query out.

I can just get selection feature in the MapControl,but I do not know what to do then.
//Here "f" can be "lake",and I do not know how to select the roads.
            ISelection selection = mapControl.Map.FeatureSelection;
            IEnumFeature enumF = (IEnumFeature)selection;
            IFeature f = null;
            while((f = enumF.Next()) != null) {
                //To do with the selected feature with 'f'.

I would appreciate it if you can help me.Thanks very much.