bahasa pemrograman proyek di codecademy
PrintAll(languages);
Scary Shrew
PrintAll(languages);
public static void PrintAll(IEnumerable<Object> sequence) {
foreach (Object o in sequence) {
Console.WriteLine(o);
}
}
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);