Refactor csharp

 added few minor tweaks to this PR:- https://github.com/import-io/importio-client-libs/pull/24