title: Converting string with leading zero into integer
body: <p>I have a string <code>(string value="01")</code>, when i converting this string into int 
  <code>(int tempValue= int.Parse(value))</code>. Then i am getting result=1.
  I want this value same as string value, which is leading zero.</p>
  
  <p>Answer:--</p>
  
  <pre><code>int length = 3;
  int number = 20;
  string asString = number.ToString("D" + length); //"020"
  </code></pre>