Ejemplo n.º 1
0
 public int TotalCitationsUntil(int year) => Papers
 .SelectMany(i => i.CitedIn)
 .Count(i => i.Years.Any(y => y <= year));
Ejemplo n.º 2
0
 public int NumberOfCitationsInYear(int year) => Papers
 .SelectMany(i => i.CitedIn)
 .Count(i => i.Years.Contains(year));