Fix C# generator; remove unnecessary type name.

before:
```
string str = "......";
```

after:
```
var str = ".......";
```