Adding a segment to a new campaign after its been created

I posted a problem earlier not being able to add a segemnt when creating a new campaign. An alternative solution would be to add an existing segment to a new campaign via the API? Does anyone have a code example to accomplish this task?

auctionpipeline, 5 years ago

This would be in C#

200,000 companies around the world can't be wrong.

From Australia to Zimbabwe, and everywhere in between, companies count on 
Campaign Monitor for email campaigns that drive real business results.

Get started for free