<p>Is there a way to declare a variable as Nullable in c#?</p>

<pre><code>struct MyStruct {        
    int _yer, _ner;

    public MyStruct() {

        _yer = Nullable&lt;int&gt;; //This does not work.
        _ner = 0;
    }
}
</code></pre>

Try declaring your variable like this:
```
```
int? yer;
```
```