title: C# convert int to string with padding zeros?
body: <p>In C# I have an integer value which need to be convereted to string but it needs to add zeros before:</p>
  
  <p>For Example:</p>
  
  <pre><code>int i = 1;
  </code></pre>
  
  <p>When I convert it to string it needs to  become 0001</p>
  
  <p>I need to know the syntax in C#.</p>