What is the best way in c# to determine whether the programmer is running the program via IDE or its user?
if (System.Diagnostics.Debugger.IsAttached) { // You are debugging }
1.4m articles
1.4m replys
5 comments
57.0k users