The following Dafny code produces illegal C# code:
```
datatype struct = S // this is ok
method Main()
{
var s := S; // this line generates illegal C# code
print s;
}
```
```
datatype struct = S // this is ok
method Main()
{
var s := S; // this line generates illegal C# code
print s;
}
```