title: c# List<object> to List<string>()
body: <p><strong>SOLUTION</strong>
  I've simply solved the problem with</p>
  <pre><code>    var list = (List&lt;object&gt;)response.Result;
                      List&lt;List&lt;object&gt;&gt; listOfListOfObjects = list.OfType&lt;List&lt;object&gt;&gt;().ToList();
                      for (var i = 0; i &lt; listOfListOfObjects.Count; i++)
                      {
                          liste.Add((listOfListOfObjects[i])[2].ToString()); //[2] returns to me href, [1] returns innertext etc..  
                      }
  </code></pre>
  <p>Thanks to everyone!</p>
  <p><strong>Problem</strong></p>
  <p>I'm getting result from Script with List object but i want to analyse the result by putting it into string list and use IndexOf for searching keywords etc.
  I've tried to use</p>
  <pre><code>var strings = (from o in objects
            select o.ToString()).ToList();
  </code></pre>
  <p>But it didn't work it converts items to just with name as &quot;System.Collections.Generic.List`1[System.Object]&quot; , it doesn't converts the exact items.</p>
  <p>Here is my script code for cefsharp thanks to  @amaitland</p>
  <pre><code>const string script = @&quot;(function()
                      {
                          var linksArray = new Array();
                          for (var i = 0; i &lt; document.links.length; i++)
                          {
                              linksArray[i] = [String(document.links[i].innerHTML),
                                      String(document.links[i].innerText),
                                      String(document.links[i].href)];
                          }
                          return linksArray;
                      })();&quot;;
  
      browser.EvaluateScriptAsync(script).ContinueWith(x =&gt;
      {
          var response = x.Result;
  
          if (response.Success &amp;&amp; response.Result != null)
          {
              var list = (List&lt;object&gt;)response.Result; // I want to put that &quot;list&quot; into listBox
  </code></pre>
  <p>Also result of script:
  <a href="https://i.stack.imgur.com/8nvYg.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8nvYg.jpg" alt="Script Output" /></a>
  <a href="https://i.stack.imgur.com/iN64t.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iN64t.jpg" alt="When i converted to string" /></a></p>