Home

Detect if running inside linqpad or lprun

is there a way to do something like:
if ( DateTime.Hour ==9 && !inLinqPadIde) { run(); }

idea is if I run the script inside the ide will perform slight <> vs. running in lprun

Comments

Sign In or Register to comment.