Extend Curve in unique curve

I´m using C#

I want to extend a curve or to join two curves in one curve, but I want to create a unique curve, a curve that I can´t explode.

I´ve used curve.extend() and Curve.JoinCurves() but if I try to explode the result it always explode in two curves.

Is there any possibility to do it and that the result cannot be exploited?

You can try to rebuild the curve. If I’m right you can’t explode a joinedcurve if its rebuild.

If I’m not mistaken, calling ToNurbsCurve() will convert any (poly)curve into one, unexplodeable curve.

Thanks, to convert curve in ToNurbsCurve() is good for me.