Simple question: I need to return an array from a helper function:
@helper arrayBuilder(){
string pages = System.Configuration.ConfigurationManager.AppSettings["siteNav"];
pages = pages.Replace(" ", string.Empty);
string[] pagesTable = pages.Split(',');
return pagesTable;
}
Why on earth isnt this possible?