Capture Min() And Max() Of Numbers Input
not going to be much better than what you have
only parse once and only compare once  

int min = Convert.ToInt32(txtStart.Text);
int max = Convert.ToInt32(txtEnd.Text);
if(max &lt; min)
{
   int temp = min;
   min = max;
   max = temp;
}