示例#1
0
 public int CountOddDegrees()
 {
     return(Degrees.FindAll(e => e % 2 == 1).Count);
 }
示例#2
0
 public int CountEvenDegrees()
 {
     return(Degrees.FindAll(e => e % 2 == 0).Count);
 }