In Azure function app based on settings value, I want to switch namespace. For example
#if System.Environment.GetEnvironmentVariable(name, EnvironmentVariableTarget.Process) == "true"
namespace TestA
#else
namespace TestB
#endif
Please help me on this. If you have other approaches other than this example please suggest me