```
static void X(String a,String b,String c)
    {

       TextBox textBox3 = new TextBox();
                      a = textBox3.Text;

      if (a == " ")
            {

                throw new ArgumentNullException(a);
            }

      TextBox textBox4 = new TextBox();
                     b = textBox4.Text;

      if (b == null)
            {
                throw new ArgumentNullException(b);
            }

      TextBox textBox5 = new TextBox();
            c = textBox5.Text;

            if (c == null)
            {
                throw new ArgumentNullException(c);
            }

     }

```

private void Go2\_Click(object sender, EventArgs e)
 {
 try
 {

```
         ........//my code
            X(Sx,Sy,V);
         ........// my some code
        }
        catch (System.ArgumentNullException)
        {
            MessageBox.Show("Your String is not correct");
        }

```

}

My program cannot do System.ArgumentNullException. How can I solve this program?Please, guide.