static void Main(string[] args) { Action foo; // 建立專案團隊物件與相關開發人員 ProjectTeam projectTeam = new ProjectTeam() { Developers = new List <Developer>() { new Developer() { FullName = "張小三", Technologies = "C#, .NET, ASP.NET, SQL Server, WPF, MVVM, MVC, HTML, CSS" }, new Developer() { FullName = "李小四", Technologies = "C#, Windows Forms, WPF" }, new Developer() { FullName = "王小明", Technologies = "SQL Server" }, new Developer() { FullName = "店小二", Technologies = "ASP.NET, HTML, CSS" } } }; // 進行各種人員專長查詢 projectTeam.DisplayDevelopers(ProjectTeamHelper.IsWebDeveloper); projectTeam.DisplayDevelopers(ProjectTeamHelper.IsDesktopDeveloper); projectTeam.DisplayDevelopers(ProjectTeamHelper.IsDatabaseDeveloper); Console.WriteLine("Press any key for continuing..."); Console.ReadKey(); }