title: How to convert object to int[]?
body: <p>Simple question. I have a TempData which I use to store temporarily an int array. I pass this to another action result. Then I just need to convert it to an int array. Can anyone help?</p>
  
  <p>Action Result:</p>
  
  <pre><code>public ActionResult SupplierReportSelection(
      int ClientID, int[] ReviewPeriodID, int? GroupID, int? SupplierID = null, 
      bool? Backbtn = null, int? StatusCategoryID = null) 
  {
      if (TempData["TempReviewPeriod"] != null) {
          var convertToString = TempData["TempReviewPeriod"].ToString();
      }
  
      // Removed unnecessary code
  
      return View("ClaimsBySupplier");
  }
  </code></pre>