var stringLanguage = languages.Select(languagePrint => $"{languagePrint.Year} {languagePrint.Name} {languagePrint.ChiefDeveloper}"); Language.PrintAll(stringLanguage );
var langScripts = languages .Where(language => language.Name.Contains("Script")); Language.PrettyPrintAll(langScripts);
PrintAll(languages);
public static void PrintAll(IEnumerable<Object> sequence) { foreach (Object o in sequence) { Console.WriteLine(o); } }