title: Excel sheets select first row with c#
body: <p>I want to select excel sheets first row using interop object. How can i do ? </p>
  
  <pre><code>xlWorkBook = xlApp.Workbooks.Open(directory, 0, true, 5, "", "", true, Microsoft.Office.Interop.Excel.XlPlatform.xlWindows, "\t", false, false, 0, true, 1, 0);
  xlWorkSheet = (Excel.Worksheet)xlWorkBook.Worksheets.get_Item(1);
  range = xlWorkSheet.UsedRange;
  var List&lt;string&gt; tempList= range[1,*].Value.ToList();
  </code></pre>
  
  <p>I want to write similar as abow. How can I write this situation</p>