Find intersection of polyline and plane

Hi,

How can I find the intersection between a polyline and a plane by Csharp script? (should be a line).

Thanks,