title: List of items in Selenium WebDriver using C#
body: <p>How to write the same piece of code in C# ?</p>
  
  <pre><code>List&lt;WebElement&gt; displayedOptions = driver.FindElements(By.TagName("select"));
  for (WebElement option : displayedOptions) 
   {
      if (option.displayed) 
      {
          displayedOptions.Add(option);
      }
   }
  </code></pre>