Neil Knight
Neil Knight

Reputation: 48587

XNA and Linq on Xbox360

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

Upvotes: 11

Views: 1061

Answers (2)

Vicente Cartas
Vicente Cartas

Reputation: 161

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.

Upvotes: 4

Julien Hoarau
Julien Hoarau

Reputation: 49990

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)

Upvotes: 8

Related Questions