checking if number is increasing?
<p>how can i check if number is increasing?
123456-true
423659-false</p>

<p>i try</p>

<pre><code>while (newNumber != 0)
         {

             string a = newNumber.ToString().Substring(0, 1);
             string b = newNumber.ToString().Substring(0, 2);

             input1 = Convert.ToInt32(a);
             input2 = Convert.ToInt32(b);

             if (input1 &lt; input2)
             {
                 ////how do i increase substring a&amp;b +1 ?

             }

         }

    }
</code></pre>

<p>also, how can i do it without the substring method? </p>
