问题描述
我在
,我喜欢新的C#功能。我无法弄清楚如何在UWP应用程序中使用它们?没有任何东西可以让我设置C#版本号。
我可以设置UWP平台版本,但这只是设置可用的API,而不是C#语言功能,如新的跨度<> (我真的想用来制作一个非常快速的解析器)和数组切片语法。
在线我可以看到如何在非UWP项目上设置语言版本(你设置了项目属性中的明显属性),但不适用于UWP。
I'm watching the BRK2155 The future of C# video on the//build site, and am loving the new C# features. What I can't figure out is how to use them in a UWP app? There isn't anything that lets me set the C# version number.
I can set the UWP platform version, but that just sets the APIs that are available, not the C# language features like the new Span<> (which I really want to use to make a very fast parser) and the array slicing syntax.
Online I can see how to set the language version on non-UWP projects (you set the obvious property in the project property), but not for UWP.
这篇关于[UWP] [C#] C#中的新功能正在Build中演示......我们如何在应用程序中使用它们?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!