C#程序可以跨平台吗? [英] Can a C# program be cross-platform?

查看:724
本文介绍了C#程序可以跨平台吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是编程的新手,我正在考虑使用C#编写一个非常简单的程序,该程序可以简单地编辑文本文件。

I'm a newbie to programming, and I'm considering using C# to write a VERY simple program that simply edits a text file.


  • 它将在Mac和Linux上运行吗?什么会起作用?

  • 我想知道什么使程序成为跨平台的?

推荐答案

C#可以在多个平台(Windows,Linux,macOS)上编译并运行通过使用 .NET Core

C# can be compiled for and ran on multiple platforms (Windows, Linux, macOS) by using .NET Core.

以前,只有使用 Mono 这是第三方实现,但是现在建议使用.NET Core,因为它是由Microsoft开发的。

Previously, cross-platform development using C# could only be done by using Mono which is a third-party implementation however it is now recommended to use .NET Core as it is developed by Microsoft.

这篇关于C#程序可以跨平台吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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