title: Converting a List of String Type To Decimal Type List
body: <p>I Have a <code>List&lt;MyClass&gt; MyList</code><br/>
  Where <code>MyClass</code> Description is </p>
  
  <pre><code> public class MyClass
      {
          public Nullable&lt;decimal&gt; Id { get; set; }
          public string Marks { get; set; }
          public string rank { get; set; }
      }
  </code></pre>
  
  <p>Items in MyList </p>
  
  <pre><code>Id  Marks Rank
  1   100   null
  2   15    null
  3   5     null
  4   55    null
  5   51    null
  6   12    null
  7   32    null
  </code></pre>
  
  <p>Here Type Of <code>Mark</code>s Is <code>String</code> Therefore If I try To <code>Sort/OrderBy</code> It by Marks It Gives me wrong Sort order<br/>
  Is There any Way From which i convert the type Of Marks Column From <strong>String --> Decimal</strong></p>