title: How to convert an Excel range to a List<String>?
body: <p>I'd like to get a list of strings from an Excel range where the data could be mixed types (strings, doubles, etc.).  I tried using this:</p>
  
  <pre><code>List&lt;string&gt; rangeToList(Excel.Range inputRng)
      {
          object[,] cellValues = (object[,])inputRng.Value2;
          List&lt;string&gt; lst = cellValues.Cast&lt;string&gt;().ToList();
          return lst;
      }
  </code></pre>
  
  <p>But the line with <code>Cast&lt;string&gt;</code> returns this error:</p>
  
  <pre><code>Unable to cast object of type 'System.Double' to type 'System.String'
  </code></pre>
  
  <p>How can I convert this array of objects into my desired list?</p>