Object property containing nothing as default in C#
<p>In a class I have a property:</p>

<pre><code>public Move plannedMove;
</code></pre>

<p>By default I would like it to contain nothing, so that I can test if it is set in my code in some some way similar to</p>

<pre><code>if(!plannedMove)
</code></pre>

<p>Or something like that. I also want to be able to unset it so that it is blank to being empty. How can I do this?</p>

<p>Just in case I'm going about this totally wrong I will explain my original problem: my Player object needs to be able to have an optional precalculated move. In a method GetMove it needs to either return the precalculated move, or calculate one. How can I do this?</p>

<p>EDIT: Yikes, forgot to mention Move is a struct.</p>
