Dynamically change namespace in C#
<p>I want to do something like this. If DEBUG is defined then the namespace is Test, or the namespace is TestB. See the sample code bellow. Can I do that or you have better ideas to achieve this? Thanks in advance!</p>

<pre><code># if DEBUG
     [SomekindofAttribute(Namespace = "Test")]
 #endif
namespace TestB
 {

     public class Program
     {}
 }
</code></pre>