C# rotating curves and adding them to a list

I was trying to rotate a curve input with for loop but when i output it all the curves are rotated with just one angle. Help a rookie out please.

my code is as follows:
I have two inputs crv- which is the curve. and iAng which is the angle increment

See attached

Curve_Rot_V1.gh (115.8 KB)

1 Like

Thank you for the solution. I didn’t use the method DuplicateCurve() so all the transformations where applied to one curve and added to the list.

See this as well

Curve_Rot_V1A.gh (150.8 KB)