title: How can I replace a character in a string with something else?
body: <p>I'm making a program. Now to write the data in the file I need to replace the spaces in the string obtained with lets say a <code>#</code> symbol.</p>
  
  <p>Is there any command in C# that lets me do this without looping through the whole string?</p>