开发者

XNA and Linq on Xbox360

开发者 https://www.devze.com 2023-01-05 20:43 出处:网络
Please excuse the newbie question but I was wondering if I 开发者_Python百科used Linq in my XNA application, would this still work on the Xbox 360?Yes the Xna framework for Xbox 360 and Zune supports

Please excuse the newbie question but I was wondering if I 开发者_Python百科used Linq in my XNA application, would this still work on the Xbox 360?


Yes the Xna framework for Xbox 360 and Zune supports LINQ.

(Look in System.Core.dll in $PROGRAM_FILES$\Microsoft XNA\XNA Game Studio\v3.1\References\Xbox360)


Yes it will work, but you should be aware that normal use of LINQ queries involves using lambdas which will generate gargabe pretty fast if you run your queries a lot. This means you could have issues in the Xbox360 as the GC is pretty simple there.

0

精彩评论

暂无评论...
验证码 换一张
取 消