这里是初学者问题,我正在学习编码并且使用 C# 已经有几个星期了。 现在我正在尝试使用 Windows.Forms,到目前为止我还不确定应该加载哪种解决方案。我正在使用 Mac 和 Tamarin Studio。 Xamarin 仅提供 Xamarin.Forms,但我不确定。 有没有人伸出援手?
最佳答案
Xamarin Studio 仅适用于跨平台应用程序开发。这意味着您可以使用 C# 编写您的 Android 和 iOS 应用程序。您最多可以开发一个控制台项目,仅此而已。
不要将 Xamarin.Forms 与 Windows 窗体 (WinForms) 混淆。
Xamarins.Forms Xamarin.Forms is a cross-platform UI toolkit that allows developers to easily create native user interface layouts that can be shared across Android, iOS, and Windows Phone. (Source)
WindowsForms Windows Forms (WinForms) is a graphical (GUI) class library included as a part of Microsoft .NET Framework, providing a platform to write rich client applications for desktop, laptop, and tablet PCs. (Source)
因此,为了回答您的问题,如果您想使用 Windows 窗体构建 Windows 应用程序(尽管我建议使用 WPF,因为它更现代),您将需要在 Windows 上使用 Visual Studio 或其他兼容的 IDE 来执行此操作。
关于c# - Windows 窗体 - mac - xamarin,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35477153/