best way of converting letters to base-10
<p>So far I have something such as: </p>

<pre><code>if( Char.IsDigit( c ) ) 
   return Int32.Parse( "" + c );

if( Char.IsLetter( c ) ) 
   return Char.ToUpper( c ) - 'A' + 1;
</code></pre>
