Home

Macro or Util to identifier LINQPad version?

Some API, like Util.Cmd, have the different API between LINQPad 6 and LINQPad 5, I want to make it compatible in these 2 different scenario, but also want make a good use of new streamResults = true.

So I want something like
#if LINQPad6
or
if (Util.LINQPadVersion.Major == 6)
to make it possible.

Comments

Sign In or Register to comment.