[英]XNA and Linq on Xbox360
请原谅新手问题,但我想知道我是否在我的XNA应用程序中使用了Linq,这仍然适用于Xbox 360吗?
Yes the Xna framework for Xbox 360 and Zune supports LINQ . 是的, Xbox 360和Zune的Xna框架支持LINQ 。
(Look in System.Core.dll
in $PROGRAM_FILES$\\Microsoft XNA\\XNA Game Studio\\v3.1\\References\\Xbox360
) (查看
$PROGRAM_FILES$\\Microsoft XNA\\XNA Game Studio\\v3.1\\References\\Xbox360
中的System.Core.dll
)
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. 是的它会起作用,但你应该知道LINQ查询的正常使用涉及使用lambdas,如果你经常运行你的查询,它会很快产生gargabe。 This means you could have issues in the Xbox360 as the GC is pretty simple there.
这意味着您可能在Xbox360中遇到问题,因为GC非常简单。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.