Click here to Skip to main content
15,891,744 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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! :)
Posted
Comments
ZurdoDev 20-Mar-14 12:21pm    
I don't know for sure but I don't see why C# 5 would not work with XNA? Also, I imagine you won't find many books on C# 5 just yet. I think C# 4 would be a safe bet and then you can always go to MSDN to research on what's new in 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.
 
Share this answer
 
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!
 
Share this answer
 
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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900