Best way to use a string as a bool
<p>I have a method like this:</p>

<pre><code>public void Method(bool value)
{
}
</code></pre>

<p>Now I want to call this method with a value parsed from an xml file (*.loadtest) which is a string:</p>

<pre><code>&lt;ContextParameter Name="paratemeter" Value="True" /&gt;
</code></pre>

<p>So, should I do this from the caller:</p>

<pre><code>if(parameter.Equals("True")
    Method(true);
else
    Method(false);
</code></pre>

<p>or should I refactor the <code>Method</code> to get as parameter a string and do the check in there?</p>
