예제 #1
0
 public bool Match(Person candidate)
 {
     return(candidate.Name.ToUpper() == "Joe");
 }
예제 #2
0
 protected static bool FindAllJoes(Person candidate)
 {
     return(candidate.Name == JOE_NAME);
 }