XNA是否适用于C#5? [英] Does XNA work with C# 5?

查看:96
本文介绍了XNA是否适用于C#5?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好:)



我开始进入XNA,我想知道,当我买一本C#书时,我应该买一本关于C#4还是C#5? XNA是同时使用还是只使用其中一个?我可以学习C#5并使用XNA吗?



谢谢! :)

Hello :)

I'm beginning to get into XNA, and I was wondering, when I'm buying a C# book, should I buy one about C# 4 or C# 5? Does XNA work with both or only one of them? Can I learn C# 5 and work with XNA?

Thanks! :)

推荐答案

您可以阅读此处,最新版本的XNA基于.NET framework 4.0。 C#5可以生成与.NET 4兼容的二进制代码,所以我没有看到C#5的任何问题。继续购买你的书。
As you can read here, the latest version of XNA is based on .NET framework 4.0. C# 5 can produce binary code compatible with .NET 4, so I don't see any problem with C# 5. Go ahead and buy your book.


是的它确实有效!它是安装XNA到VS2013的小提琴!请参阅此问题: http://stackoverflow.com/questions/17330810/xna-for-visual- studio-2013 [ ^ ]



但是,我强烈建议您使用MonoGame,它是现已停产的XNA的开源替代品。一切都像在XNA上工作或非常接近它!
Yes it does indeed work! Its a fiddle installing XNA to VS2013 tho! See this question: http://stackoverflow.com/questions/17330810/xna-for-visual-studio-2013[^]

However, I´d strongly encourage you to use MonoGame instead, its an opensource alternative to the now discontinued XNA. Everything works like on XNA or very very close to it!


我希望你知道你刚开始学习一个死平台,对吗? MS已经问世,并且几乎不会再发展或支持XNA。
I hope you know you're just starting to learn a dead platform, correct? MS has come out and pretty much said that XNA will not be developed or supported any further.


这篇关于XNA是否适用于C#5?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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