Rozwiązanie:
How to check C# version used in Project and install latest...
Right click on the Project and select Properties option.
From the Properties, select Build option => Advanced option.
Check the Language version selected. You can change the C# version for the project from here.
U mnie nie działa. Nie mogę zmienić ustawienia języka.
Proszę o pomoc, nie działa mi przez to m.in. range operator.