Starting from Rhino 6 Grasshopper there is multithreading component for contour.
If you really want C# code you can check this:
Storing objects in Arrays solves here threadsafe problem.
Starting from Rhino 6 Grasshopper there is multithreading component for contour.
If you really want C# code you can check this:
Storing objects in Arrays solves here threadsafe problem.