title: C# WebBrowser HTML Get ByClass not working
body: <p>Everyone Hello I'm Türk (Türkiye)</p>
  
  <pre><code>&lt;div class="asdq"&gt;TestMessageBox&lt;/div&gt;
  </code></pre>
  
  <p>I've tried, working</p>
  
  <pre><code>&lt;div class="asdq qwet"&gt;TestMessageBox&lt;/div&gt; 
  </code></pre>
  
  <p>these codes do not work</p>
  
  <p>Peki nasıl çözebilirim?</p>
  
  <p>C# GetByClass C# I put the codes (class="asdq qwet" not working.):</p>
  
  <pre><code>HtmlElementCollection theElementCollection = default(HtmlElementCollection);
          theElementCollection = webBrowser1.Document.GetElementsByTagName("div");
          foreach (HtmlElement curElement in theElementCollection)
          {
              if (curElement.GetAttribute("className").ToString() == "asdq qwet")
              {
                  MessageBox.Show(curElement.GetAttribute("InnerText"));
              }
          }
  </code></pre>