Can't use example : Loft-surfaces

Hello everyone, I am newbie in developing RhinoCommon.
I code same of Loft example , but it does not work. Please fix me the error “select”.
Example:

This example uses Enumerable.Select, you need to import System.Linq to have access to this method.
Or you can replace this line with for or foreach loop like this:

var curves = new List<Curve>();
foreach(var obj in gs.Objects())
   curves.Add(obj.Curve());
1 Like

Thanks for your helping, Mahdiuar. I did using “System.Linq”, and my code was worked.
I love you.