BUG: Fix csharp example working directory setting
Fixes an issue that would require users to set the working directory manually in the csharp examples.
Edited by Andrew Wilson
Fixes an issue that would require users to set the working directory manually in the csharp examples.