title: How to validate username and password using array in
body: <p>Hi I would like to make a login screen wherein the user will input a username and password.but how do I validate it using an array? please help thank you</p>
  
  <pre><code>        int[] username = { 807301, 992032, 123144 ,123432};
  
          string[] password = {"Miami", "LosAngeles" ,"NewYork" ,"Dallas"};
  
          if (username[0].ToString() == password[0])
          {
              MessageBox.Show("equal");
          }
          else
          {
              MessageBox.Show("not equal");
          }
  </code></pre>