I'm sure I have done this before in the past, but I've been in the docs for a bit, and can't seem to find it again. I need to be able to determine at run time in my business domain what context my application is running in. So that I may do some switching with config files, and use the proper method to determine if I am running in debug or release etc. I was pretty confident it was in System.Environment, but I have not come across it yet. Any help is appreciated.
Thanks,
Matt