C# Development State
<p>I am not sure if it is possible, but is there a way in C# to differentiate when you are developing and testing vs the web site is already in production?</p>

<p>Clarification: Basically I am building a website and I want to be able to say</p>

<pre><code>if(developing or testing mode)
    do this
else if(in production)
    do this
</code></pre>

<p>I have not started coding so there is no code available, but I am wondering if this is possible in c#?</p>

<p>Thank you</p>
