using System.Collections.Generic;
public int PlayerId{get;set;}
public string PlayerName{get;set;}
public class BowlingStats{
public int PlayerId{get;set;}
public int Wickets{get;set;}
public static void Main()
List<Lineups> lineup = new List<Lineups>(){
new Lineups{PlayerId = 21,PlayerName= "Y. Chahal"},
new Lineups{PlayerId = 22,PlayerName= "Bhuvneshwar Kumar"},
new Lineups{PlayerId = 23,PlayerName= "Jasprit Bumrah"},
new Lineups{PlayerId = 24,PlayerName= "Hardik Pandya"},
new Lineups{PlayerId = 25,PlayerName= "Ravindra Jadeja"},
new Lineups{PlayerId = 26,PlayerName= "Mohammed Shami"}
List<BowlingStats> bowlingStats = new List<BowlingStats>(){
new BowlingStats{PlayerId = 21,Wickets= 2},
new BowlingStats{PlayerId = 22,Wickets= 1},
new BowlingStats{PlayerId = 23,Wickets= 3},
new BowlingStats{PlayerId = 24,Wickets= 1},
foreach(var lineu in lineup){
int wi= Convert.ToInt32(bowlingStats.Where(x=>x.PlayerId==lineu.PlayerId).Select(x=>x.Wickets));
if(Convert.ToInt32(wi)>0)
Console.WriteLine("{0} : {1} Wicket",lineu.PlayerId ,wi);