PostPager Question

Topics: Controls
Nov 18, 2012 at 4:41 PM
Edited Nov 18, 2012 at 8:59 PM

In the PostPager control when accessing int lists you see code like the following:

 

var last = int.Parse(midStack[midStack.Count - 1].ToString());

 

Where you might expect:

 

var last = midStack[midStack.Count - 1];

 

I guess there's a good reason for the int to string to int conversions, just wondering what it is?

Edit:

Globalization?