Elegant way to stop release compilation with error
<p>As you're developing you often use things like </p>

<pre><code>throw new NotImplementedException("Finish this off later") 
</code></pre>

<p>or</p>

<pre><code>// TODO - Finish this off later
</code></pre>

<p>as a placeholder to remind you to finish something off - but these can be missed and mistakenly end up in the release.</p>

<p>You could use something like</p>

<pre><code>#if RELEASE
   Finish this off later
#endif
</code></pre>

<p>so it won't compile in Release build - but is there a more elegant way?</p>
