public void onBallInPlay(BallEventArgs e)
 {
     BallEventHandler ballInPlay = BallInPlay;
     if (ballInPlay != null)
     {
         ballInPlay(this, e);
     }
 }
        static void Main(string[] args)
        {
            Ball ball = new Ball();
            Pitcher pitcher=new Pitcher(ball);

            BallEventArgs bea = new BallEventArgs(5, 7);
            ball.onBallInPlay(bea);
            string z = Console.ReadLine();
        }