适用于通用 Windows 程序的 .NET 是 .NET Core 的子集吗? [英] Is .NET for Universal Windows Program a subset of .NET Core?

查看:13
本文介绍了适用于通用 Windows 程序的 .NET 是 .NET Core 的子集吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的困惑是我读到 UWP 使用 .NET Core,但有一个单独的.NET for UWP"API 文档 此处.另外,我在我的 UWP 项目中找不到一些 .NET Core 功能.

My confusion is I read that UWP uses .NET Core, but there's a separate ".NET for UWP" API documentation here. Also, I can't find some .NET Core features in my UWP project.

推荐答案

.NET Core 是 .NET 的跨平台子集,可用于构建适用于 Windows、Linux、Mac 和 UWP 的应用程序.

.NET Core is a cross-platform subset of .NET that can be use to build apps for Windows, Linux, Mac, and yes, UWP.

UWP Api 也是 .NET API 的一个子集,可以在 .NET Core 上运行.它还具有许多 UWP 独有的 API.UWP 应用程序可以是 .NET 核心应用程序,但反过来不一定如此.并非所有 .NET 核心应用程序都是 UWP 应用程序.

UWP Api is also a subset of the .NET API, which can run on .NET Core. It also has a number of API's that are unique to UWP. UWP apps can be .NET core apps, but the reverse is not necessarily true. Not all .NET core apps are UWP apps.

就像 .NET Core 的 API 只适用于 Linux 或 Mac.

Just like there are API's for .NET Core that only apply to Linux, or Mac.

这篇关于适用于通用 Windows 程序的 .NET 是 .NET Core 的子集吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆