Replacing character after single quote
<p>I am using the following C# code to modify a lowercase letter to uppercase after a single quote:</p>

<pre><code>public virtual string FirstName
{
    get { return _firstName; }
    set
    {
        if (value != null)
        {
            int pos = value.IndexOf("'", 0);
            int strlength = value.Length - 1;
            if (pos &gt;= 0 &amp;&amp; pos != strlength)
            {
                string temp = value[pos + 1].ToString();
                temp = temp.ToUpper();
                value = value.Remove(pos + 1, 1);
                value = value.Insert(pos + 1, temp);
            }
        }
    }
}
</code></pre>

<p>To me this looks like overkill. Is there an easier way to achieve the desired result:</p>

<pre class="lang-none prettyprint-override"><code>Value: Mc'donald
Expected: Mc'Donald
</code></pre>
