title: How would call the values in Drop down menu, also how do you select any value in radion button?
body: <p>I am trying to automate a website wherein we have two fields namely with  . test website = testing.todorvachev.com.</p>
  <ol>
  <li>Drop down menu -  to select country</li>
  <li>Radio button. - to select the sex.</li>
  </ol>
  <pre><code>[configuration file code]
      using System.Text;
      using System.Threading.Tasks;
      
      namespace Demoproject
      {
          public static class config
          {
              public static string BaseURL = &quot;https://testing.todorvachev.com/&quot;;
              public static class Credentials
              {
                  public static class Valid
                  {
                      public static string UserId = &quot;Useridexample&quot;;
                      public static string Password = &quot;asdfvb&quot;;
                      public static string username = &quot;Username&quot;;
                      public static string address = &quot;abcd&quot;;
                      public static string[] Country = {&quot;Australia&quot;,&quot;Canada&quot;,&quot;India&quot;,&quot;Russia&quot;,&quot;USA&quot;}; // How to declare this field in config class.
                      public static string Zipcode = &quot;019345&quot;;
                      public static string Email = &quot;example@example.com&quot;;
                      public static string[] Sex = { &quot;Male&quot;, &quot;Female&quot; }; //How to declare this radio button in config class.
                      public static string About = &quot;This is a description&quot;;
                  }
              }
          }
      }
      
      
  [Actions class]
      using Demoproject.UI_Elements;
      using OpenQA.Selenium.Support.UI;
      using System;
      
      
      namespace Demoproject
      {
          public static class Action01
          {
              public static void InitializeDriver()
              {
                  Driver.driver.Navigate().GoToUrl(config.BaseURL);
              }
      
              public static void fillRegisterForm(string userId, string Password, string username, string address,string Dropdownmenu, string zipcode, string Email, string sex, string About)
              {
                  TestScenarios tsPage = new TestScenarios();
                  SelectElement objectname = new SelectElement(tsPage.DropDownMenu);   ///used to declare drop down menu
      
                  tsPage.Userid.SendKeys(userId);
                  tsPage.Password.SendKeys(Password);
                  tsPage.Username.SendKeys(username);
                  tsPage.Address.SendKeys(address);
                  objectname.SelectByText(config.Credentials.Valid.Country[2]);  //declare drop down menu
                  tsPage.Zipcode.SendKeys(zipcode);
                  tsPage.Email.SendKeys(Email);
                  tsPage.About.SendKeys(About);
                  tsPage.Submit.Click();
      
      
                
      
              }
          }
      }
  </code></pre>
  <p>Note: Config class contains the details as to what to fill and actions class uses the send keys to actually fill it. I have tried to declare the [drop down menu] and [sex] as a string array in config class, but I am confused how to declare them in actions.</p>