title: How is String.Format method treated?
body: <p>As is described at Microsoft Site ,String.Format arranges some String Variables into a single String and is another way how to concate string's in c#. </p>
  
  <pre><code>string.Format("Name = {0} Surname = {1}",name,surname);
  </code></pre>
  
  <p>My question is how does this work ?
  Is this method a Special method ,and can i create a method similar to this one which accepts at every {n} only an Integer .
  Or is this method interpreted in a different way by compiler ,if yes than how does the compiler accesses this method .</p>
  
  <p>If it's possible i would like to see ,how does the compiler interpret this Method.</p>
  
  <p>PS : How does it work ,when you can send as much parameters as you want to a method ?</p>
  
  <p><strong>[EDIT]</strong>
  Does it mean ,that String.Format takes the first Parameter and filter's into with a Regex or Whatever tool (Split etc) to get where {Number} is and places there a String token from second params portion ?</p>