title: how to get sub string with with in c# with specific paterns
body: <p>I have following string patern</p>
  
  <pre><code>string str = "MCHH-1-00001";
  </code></pre>
  
  <p>I need to check 00001 value every time before page load and increment it by '1' 
  please tell me how i can do this.</p>