title: How to convert an expression tree?
body: <p><strong>UPDATE</strong>:</p>
  
  <p>I'll try to explain what I mean.
  There are 2 <strong>different</strong> classes (MyClass1 and MyClass2) and method to convert class1 to class2:</p>
  
  <pre><code>class MyClass1
    {
          //...Some fields and properties
   }
  
    class MyClass2
     {
          //...Some fields and properties
    }
  
  public MyClass2 Convert(MyClass1 class1)
  {
  //.....
  return class2Object;
  }
  </code></pre>
  
  <p>There are 2 different  methods:</p>
  
  <pre><code>   void method1(Expression&lt;Func&lt;MyClass1, bool&gt;&gt; where, //other parameters)
      {
          //some operations
          //...............
  
          //need to call method2(Expression&lt;Func&lt;MyClass2, bool&gt;&gt;)
          //   BUT! How do I convert Expression&lt;Func&lt;MyClass1, bool&gt;&gt; 
          //   to Expression&lt;Func&lt;MyClass2, bool&gt;&gt;
      }
  
      void method2(Expression&lt;Func&lt;MyClass2, bool&gt;&gt; where, //other parameters)
      {
          //some operations
      }
  </code></pre>
  
  <p>How do I convert Expression&lt; Func&lt; <strong>MyClass1</strong>, bool>> to Expression&lt; Func&lt; <strong>MyClass2</strong>, bool > ></p>