Cannot use generic math in .NET 6
.NET 6 introduced generic math, but I'm not able to use it in LinqPad.
To enable generic math in a normal C# project, we need to set
true and reference package
Can LinqPad provide an option to enable this scenario?
Hi @hez2010 , I submitted a same ticket here:
Really would like to have PreviewFeatures exists in LINQPad
Try LINQPad 7:
You will also need to:
- Add a NuGet reference to System.Runtime.Experimental
- Go to Edit | Preferences > Query and check Enable C#/F# Preview Features.
I works as expected. Thank you!