Issue converting Sitecore Item[] using ToList<T>
- by philba888
Working with Sitecore and Linq extensions.
I am trying to convert to from an item array to the list using the following piece of code:
Item variationsFolder = masterDB.SelectSingleItem(VariationsFolderID.ToString());
List<Item> variationList = variationsFolder.GetChildren().ToList<Item>();
However I keep getting this error whenever…