score:3

Accepted answer

Add the Linq namespace in your view:

@using System.Linq

The System.Linq namespace is in the System.Core assembly (in System.Core.dll)

http://msdn.microsoft.com/en-us/library/system.linq.aspx


Related Articles