789. Escape The Ghosts <<throwing error with C#, jazz array>>

unable to run below block with the default definition provided

public class Solution {
    public bool EscapeGhosts(int[][] ghosts, int[] target) {
       // int mymove = target[0] + target[1];
       
        /*for(int i = 0 ; i<ghosts.Length;i++)
        {
           int[] aghost = ghosts[i];
           int ghostmove = Math.Abs(aghost[0] - target[0]);
           ghostmove = Math.Abs(aghost[1] - target[1]);
            if (ghostmove >= mymove)
                return false;
        } */
        
        return true;
    }

}
Comments (1)