It seems that in Views, there is limited libraries available (is it true?), see below:

My question is how do I convert an IEnumerable to, say, an array or a list? I normally can use methods like ToArray(), ToList(), or Cast<T>() in a regular C# file, but they all seem to have disappeared when it comes to Views (in ASP.NET MVC).