Fixing c# compile
Fix duplicate assignment
Merge pull request #8 from lpetre/fix_cs_compile

Fixing c# compile