I have this code:
public static List<Phrase> selectedPhrases;
and
if (!App.selectedPhrases.Any(x => x.Viewed == false))
return;
Is there any way that I could change the way I declare selectedPhrases so that I could do that last check in this way:
if (App.selectedPhrases.AllViewed())
return;
I heard about extension methods but is that possible to create one for a List like in my code?