minor fixes c# port and README.md
minor fix c# port