title: System.FormatException: 'Input string was not in a correct format.'
body: <pre><code>string[] rounds = cols[5].Split('|');
  
  foreach (string round in rounds)
  {
      //splitting each round on "^"
      string[] msText = round.Split('^');
  
      //create a new list in text file
      List&lt;MatchupModel&gt; ms = new List&lt;MatchupModel&gt;();
  
      foreach (string matchupModelTextId in msText)
      {
          // this is the line on which I am getting the error
          ms.Add(matchups.Where(x =&gt; x.Id == int.Parse(matchupModelTextId)).First());
      }
  
      tm.Rounds.Add(ms);
  }
  </code></pre>