prog.cs(14,27): error CS1061: Type `System.Func<int,int>' does not contain a definition for `then' and no extension method `then' of type `System.Func<int,int>' could be found (are you missing a using directive or an assembly reference?)
/usr/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll (Location of the symbol related to previous error)
Compilation failed: 1 error(s), 0 warnings