title: Read from excel file error
body: <p>I'm trying to read a row from an Excel file.<br>
  For some reason, I get an error when I try to read integer values (ID Column).</p>
  
  <p>What the code does is reading information from the Excel file 
  and subsequently storing it.</p>
  
  <p>In <code>UserInfo</code> implemented as array.<br>
  <a href="https://i.stack.imgur.com/tMHyW.png" rel="nofollow noreferrer">(Excel File Image)</a>         </p>
  
  <p>It throws this error: <a href="https://i.stack.imgur.com/Sq4iT.png" rel="nofollow noreferrer">ErrorImage</a>  </p>
  
  <pre><code>   class UserInfo
     {
             public int ID { get; set; }
             public string firstName { get; set; }
             public string lastName { get; set; }
             public string IDNumber { get; set; }
             public string email { get; set; }
     }
  
  
      private void openExcelFile(string excelFile)
      {
          UserInfo[] user = new UserInfo[2];
          label1.Text += "Initalize Excel Application And Reading Data";
          ///Read From Excel File And Store in array
          Microsoft.Office.Interop.Excel.Application xlApp = new Microsoft.Office.Interop.Excel.Application();
          Workbook xlWorkbook = xlApp.Workbooks.Open(excelFile);
          _Worksheet xlWorksheet = xlWorkbook.Sheets[1];
          Range xlRange = xlWorksheet.UsedRange;
          int rowCount = xlRange.Rows.Count;
          //Start to read from row 2
          for (int i = 2; i &lt;= rowCount; i++)
          {
              user[i - 2] = new UserInfo();
              Range range1 = xlWorksheet.Rows[i];
              user[i - 2].firstName = range1.Cells[i, 1].Value2;
              user[i - 2].lastName = range1.Cells[i, 2].Value2;
              user[i - 2].ID = range1.Cells[i, 3].Value2; //Error
              user[i - 2].email = range1.Cells[i, 4].Value2;
          }
  
          label1.Text += "Done!\nStart Sql Process:\n";
          //Cleaning GC,Dealing memory
          GC.Collect();
          GC.WaitForPendingFinalizers();
          //close and release
          xlWorkbook.Close();
          Marshal.ReleaseComObject(xlWorkbook);
          //quit and release
          xlApp.Quit(); 
      }
  }
  </code></pre>