You can find an example for c# in your alphacam setup files.

way to this file folder is "your setup files\ALPHACAM\ExampleFiles\API\CSharp.Net"
in this folder there is a solution. You can use...