title: How do I access the individual data from an object when reading an Excel file using EPPlus?
body: <p>I'm trying to read a row from an excel file in c# and store in the object using EPPLUS. </p>
  
  <p>Now when I print the content of the object, it displays all the content of the row as single string. </p>
  
  <p>How do I limit my access to single cell content? i.e., individual cell content so that I can use those particular fields as per my requirement.</p>
  
  <pre><code>var existingFile = new FileInfo("D:\\Fields.xlsx"); 
  using (var package = new ExcelPackage(existingFile)) 
  {
      ExcelWorkbook workBook = package.Workbook;
      if (workBook != null) 
      { 
          if (workBook.Worksheets.Count &gt; 0) 
          { 
              ExcelWorksheet currentWorksheet = workBook.Worksheets.First(); 
              var lastrow = currentWorksheet.Dimension.End.Row; 
              var lastcol = currentWorksheet.Dimension.End.Column; 
              for (int i = 1; i &lt;= lastrow; i++) 
              {
                  for (int j = 1; j &lt;= lastcol; j++) 
                  {
                      object asd = new object(); 
                      asd = currentWorksheet.Cells[i, j].Value; 
                      Console.WriteLine(asd);
                  }
              }
          }
       }
  }
  </code></pre>