C#跨平台是指win,macos,ios,Android,web,linux 6个。除了web是去年发布正式版的,别的几个支持都在5年以上了。现在dotnet社区是唯一一个能做到这一点的。vb、f#也可以
上面说的是代码逻辑跨平台。而界面跨平台大概是去年随着web wasm的完成,也完成web和linux平台。
这有个示例,把windows计算器移植到了这6个平台。
https://calculator.platform.uno/
这是个wasm的,移动平台打开会提示app store安装
The Uno Calculator is a port of the Windows Calculator to C# and to the Uno Platform for iOS, macOS, Android, WebAssembly and Linux.
The Uno Calculator will regularly follow with the Windows Calculator updates. You can get it from the App Store, Play Store, in your browser, Snap Store for Linux and of course the original calculator on the Microsoft Store.
【 在 RuralHunter 的大作中提到: 】
: 跨平台指日可待这句说了可有十年了?
:
: #发自zSMTH@ Hunt Machine
--
FROM 123.116.203.*