I am still learning LINQ so bear with me :). My question, how to convert the following code into LINQ
int count = 0; foreach (var item in settings.FavouritesSetting) { if (item.FavouriteType != Constants.FavouriteType.Folder) count++; } return count.ToString();