using System.Collections.Generic;
using System.Threading.Tasks;
namespace ConsoleApplication27
static void Main(string[] args)
Console.WriteLine("Enter the number of wickets");
long i = long.Parse(Console.ReadLine());
Console.WriteLine("Enter the wicket 1 details");
string[] s1 = Console.ReadLine().Split(',');
long a1 = Convert.ToInt64(s1[0]);
long b1 = Convert.ToInt64(s1[1]);
Wicket w1=new Wicket(a1,b1,c1,d1,e1);
Console.WriteLine("Enter the wicket 2 details");
string[] s2 = Console.ReadLine().Split(',');
long a2 = Convert.ToInt64(s2[0]);
long b2 = Convert.ToInt64(s2[1]);
Wicket w2=new Wicket(a2,b2,c2,d2,e2);
Console.WriteLine("Enter the wicket 3 details");
string[] s3 = Console.ReadLine().Split(',');
long a3 = Convert.ToInt64(s3[0]);
long b3 = Convert.ToInt64(s3[1]);
Wicket w3=new Wicket(a3,b3,c3,d3,e3);
Console.WriteLine("Wicket details\nOver : {0}\nBall : {1}\nwicket Type : {2}\nplayer name : {3}\nbowler name : {4}\nOver : {5}\nBall : {6}\nwicket Type : {7}\nplayer name : {8}\nbowler name : {9}\nOver : {10}\nBall : {11}\nwicket Type : {12}\nplayer name : {13}\nbowler name : {14}", w1.Over, w1.Ball, w1.WicketType, w1.PlayerName, w1.BowlerName, w2.Over, w2.Ball, w2.WicketType, w2.PlayerName, w2.BowlerName, w3.Over, w3.Ball, w3.WicketType, w3.PlayerName, w3.BowlerName);
using System.Collections.Generic;
using System.Threading.Tasks;
namespace ConsoleApplication27
get { return _wicketType; }
set { _wicketType = value; }
get { return _playerName; }
set { _playerName = value; }
get { return _bowlerName; }
set { _bowlerName = value; }
public Wicket(long over,long ball,string wicketType,string playerName,string bowlerName)
this._wicketType = wicketType;
this._playerName = playerName;
this._bowlerName = bowlerName;