Why use Mono?(为什么使用单声道?)
问题描述
在 Java(或任何其他免费"或 Linux 友好的语言/运行时)上使用 Mono 的主要好处是什么?
What are the main benefits of using Mono over Java (or any other "free" or Linux-friendly language/runtime)?
Mono 将始终落后于 .NET 框架的最新发展,您为什么要使用 Mono 而不是另一种传统的开源语言/框架 (Java)?
Mono will always trail behind the latest developments in the .NET framework, why would you want to use Mono over another traditional open-source language/framework (Java)?
就像下面有人提到的那样,我想根本问题是,为什么要在 Linux 平台上使用 .NET?
Like someone mentioned below, I guess the root question is, why would you want to use .NET on the Linux platform?
推荐答案
答案很明显:因为你想在 Linux 上使用 .Net.
The answer is pretty obvious: because you want to use .Net on Linux.
这当然引出了一个问题(我认为这正是您要了解的问题):为什么要在 Linux 上使用 .Net(通过 Java)?
This of course begs the question (which I think is really what you're getting at): why would you want to use .Net on Linux (over Java)?
原因很多:
- 您的服务器与例如 WPF 或 Winforms 应用程序之间的公共代码;
- 使用特定的 .Net 语言,例如 F#;
- Java 中没有的语言特性(闭包、运算符重载、部分类、运行时泛型、索引器、委托、LINQ、var 类型等);
- 您或您团队的技能已经在 C# 中;
- 等等
这篇关于为什么使用单声道?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:为什么使用单声道?


- Eclipse 的最佳 XML 编辑器 2022-01-01
- 在 Java 中,如何将 String 转换为 char 或将 char 转换 2022-01-01
- 如何使 JFrame 背景和 JPanel 透明且仅显示图像 2022-01-01
- 未找到/usr/local/lib 中的库 2022-01-01
- 将 Java Swing 桌面应用程序国际化的最佳实践是什么? 2022-01-01
- java.lang.IllegalStateException:Bean 名称“类别"的 BindingResult 和普通目标对象都不能用作请求属性 2022-01-01
- GC_FOR_ALLOC 是否更“严重"?在调查内存使用情况时? 2022-01-01
- 转换 ldap 日期 2022-01-01
- 获取数字的最后一位 2022-01-01
- 如何指定 CORS 的响应标头? 2022-01-01