title: Add methods to a dll class
body: <p>Here is my problem :</p>
  
  <p>I have a dll containing some mathematical functions, the code looks that way:</p>
  
  <pre><code>internal sealed class TemplateSourceCodeClass
  {
      public const string MathExpressionEvaluationCode =
      @"using System;
          class MathExpressionEvaluation
          {
              public object Eval(double value)
              {}
              public double abs(double dValue)
              {}
  </code></pre>
  
  <p>the probleme is that it manipulate only double variables and I need to be able to manipulate all kind of number (UInt32, UInt64, Byte ...)</p>
  
  <p>Should I write an other class ? and make it a generic class ? </p>
  
  <p>The class is called by some methods inside the dll (another class)</p>
  
  <pre><code>public class MathExpressionEvaluator : BaseEvaluator
  {
      static private CSharpCodeProvider _csharpCodeProvider;
      static private Dictionary&lt;string,object&gt;  equations;
      public MathExpressionEvaluator()
      {}
     public void Compile(string formulaString)
      {}
  </code></pre>
  
  <ul>
  <li>I don t have access to the code of the dll</li>
  </ul>
  
  <p>I m sorry if the question is not clear enough but If you need further expplications, just ask</p>
  
  <p>Any help could be useful</p>
  
  <p>I searched on the forum and I didn t find something that helped me but If you think that the question was already answered just give me the link</p>
  
  <p>Thank you verry much</p>