Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C#
How to exec certain lines of code only when debugging
Cristinakity
Programming language:
C#
2021-10-22 14:25:06
0
Q:
How to exec certain lines of code only when debugging
Cristinakity
Code:
C#
2021-10-22 14:25:06
string server = GetServer(); #if DEBUG server = "TestServer1"; #endif
0
New to Communities?
Join the community