string.Format did not work for string line type parameter?
<p>I have to pass two parameters to CallSome() </p>

<pre><code>string.Format("CallSome({0},'{1}');", someId, someName);
</code></pre>

<p>But someName did not work for this kind of values which is having space. like</p>

<p>Its working for  '123', 'name'</p>

<p>But not for this 'My Name' Its given an error of this After 'My</p>
