This is a migrated thread and some comments may be shown as answers.

C# 8 features

1 Answer 91 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Bill
Top achievements
Rank 1
Bill asked on 18 Mar 2020, 06:07 PM

Looking at your components for the first time and downloaded the 30 day trial today. I note in Visual Studio 2019 that you set <LangVersion> to 7.3 for each of the samples and the VS templates I've installed.

Is this a requirement to stay compatible with your package?

The big pull for us with C# 8 is nullable reference types. I suppose I can just turn it on and wait for Telerik components to be incompatible.

1 Answer, 1 is accepted

Sort by
0
Accepted
Marin Bratanov
Telerik team
answered on 19 Mar 2020, 08:46 AM

Hello Bill,

There shouldn't be issues with using 8.0 (or removing this flag). We re not using such features at the moment, but they should work. The 7.3 version is a remnant from old MS templates that I have forgotten to remove from our templates, you should be able to remove it and have things working.

In fact, we may also start using 8.0 features with our next release.

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor
Tags
General Discussions
Asked by
Bill
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or