Open seesharprun opened 4 years ago
I just ran into the same problem. I tried running a C# notebook with features that are added in .NET 8 Preview.
The C# version you'll see in .NET Interactive is the latest non-preview version.
We're planning to make this more flexible after the .NET 8 release, in order to support preview versions as well as previous versions.
I'm a big fan of .NET Interactive and have already started using the C# kernel in Visual Studio Code Notebooks and Try .NET for classroom/training scenarios.
With that being said, it took some trial and error for me to figure out that .NET Interactive did not support the C# 9 language features available in the latest .NET 5 preview 7. C# is evolving faster than ever and I, as a instructor and author, want to be able to use .NET Interactive long-term as a way to teach students the new language features as they land.
So my questions are:
Thanks!