@razor identifier le dernier foreach

int iteration=0;
foreach (var item in items)
  {
    iteration++;
    if (iteration < items.Count)
       {
        //do stuff  
       }              
   }
Ivanoft