determine what namespace to use in C# during run time. : I have 4 machines in my project. Each one of them does
1-Dispense
2-Deposit

I have one project that talks to these 4 machines (A , B , C ,D).

each machine has a folder in my project and in this folder I have a Dispense class and a Deposit class.

The bigger the code gets,the problem of very long namespaces and switch statements/if statements becomes annoying. 

My question is:

Is there a way I can tell the compiler to use the specific namespace during the run-time? Or Maybe by using a config variable or a string that has namespace path.

So instead of saying MyProject.A.bla.bla.bla.Deposit(), I just call Deposit() and the compiler, based on my predefined value, knows what namespace.

Hopefully my question makes sense.