I am new to C# and C# interactive scripts. I would like to load a script conditionally.
After consulting this question, I know that #load statements are preprocessor directives that must be at the top of the file. I was thinking of a workaround where I use an #if clause as so:
#if false
#load "path/to/script.csx"
#endif
This does not seem to work unless I am missing something. Could this work? Is there any other way to do this? Thanks.