try icon indicating copy to clipboard operation
try copied to clipboard

Update Try .NET to support new C# features.

Open LadyNaggaga opened this issue 3 years ago • 5 comments

LadyNaggaga avatar Nov 05 '21 14:11 LadyNaggaga

I agree. New features like nullable reference types aren't allowed. image

This causes this message "The feature 'nullable reference types' is currently in Preview and unsupported. To use Preview features, use the 'preview' language version".

I think language version should have a default but the user should be able to choose a langversion especially in their own embed of try.net

BenjaminMichaelis avatar Dec 29 '21 22:12 BenjaminMichaelis

Nullability is allowed, Nullable reference types are not.

yecril71pl avatar Jan 14 '22 13:01 yecril71pl

There are quite a few C# language features that currently aren't supported. At this point, even using Top Level Functions appears to be broken:
image

jwooley avatar Dec 30 '22 17:12 jwooley

Since the .Net exercises (https://learn.microsoft.com/en-us/training/modules/csharp-write-first/2-exercise-hello-world) support top level statements, and are supposedly based on stuff from this repo (??) things are even more confusing.

douglasg14b avatar Apr 21 '23 16:04 douglasg14b

I came here with the same confusion as the previous comment. Top level statements are not working on try.dot.net, but they seem to be working in the Microsoft Learn page that embeds it to teach them!

Meligy avatar Sep 21 '23 00:09 Meligy